Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/script-security
  4. ›
  5. CVE-2019-1003001

CVE-2019-1003001: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

May 13, 2022 (updated December 15, 2023)

A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.

References

  • packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
  • www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
  • access.redhat.com/errata/RHBA-2019:0326
  • access.redhat.com/errata/RHBA-2019:0327
  • github.com/advisories/GHSA-6q78-6xvr-26fg
  • github.com/jenkinsci/pipeline-model-definition-plugin/commit/6d7884dec610bf34503d24d494d994e9fc607642
  • github.com/jenkinsci/script-security-plugin/commit/2c5122e50742dd16492f9424992deb21cc07837c
  • github.com/jenkinsci/workflow-cps-plugin/commit/66c3e7aafe7888d4e1fe9995a688bb3fb742d742
  • jenkins.io/security/advisory/2019-01-08/
  • nvd.nist.gov/vuln/detail/CVE-2019-1003001
  • www.exploit-db.com/exploits/46572/

Code Behaviors & Features

Detect and mitigate CVE-2019-1003001 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.49

Fixed versions

  • 1.50

Solution

Upgrade to version 1.50 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.jenkins-ci.plugins/script-security/CVE-2019-1003001.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.