CVE-2019-1003001: High severity jenkins pipeline vulnerability

Published Jan 22, 2019
·
Updated

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.

Other sources

Jenkins Script Security sandbox protection could be circumvented during the script compilation phase by applying AST transforming annotations such as @Grab to source code elements.

Both the pipeline validation REST APIs and actual script/pipeline execution are affected.

This allowed users with Overall/Read permission, or able to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.

All known unsafe AST transformations in Groovy are now prohibited in sandboxed scripts.

Affected Software

5 affected componentsFixes available
maven/org.jenkins-ci.plugins:script-security<=1.49
1.50
maven/org.jenkins-ci.plugins:pipeline-model-definition<=1.3.4
1.3.4.1
maven/org.jenkins-ci.plugins.workflow:workflow-cps-parent<=2.61
2.61.1
Jenkins Pipeline\<=2.61
redhat OpenShift Container Platform=3.11

Event History

Jan 22, 2019
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
May 13, 2022
Advisory Published
01:15 AM

Frequently Asked Questions

1

What is the severity of CVE-2019-1003001?

CVE-2019-1003001 has a high severity rating, indicating a significant risk to affected systems.

2

How do I fix CVE-2019-1003001?

To fix CVE-2019-1003001, upgrade the affected plugins to their respective fixed versions as specified in the advisory.

3

Which versions are affected by CVE-2019-1003001?

CVE-2019-1003001 affects Pipeline: Groovy Plugin version 2.61 and earlier.

4

What types of systems are impacted by CVE-2019-1003001?

CVE-2019-1003001 impacts systems running Jenkins and related plugins that allow Overall/Read permission.

5

Can CVE-2019-1003001 lead to remote code execution?

Yes, CVE-2019-1003001 can potentially allow attackers to execute arbitrary code on the affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203