High, CVSS 8.8MavenPublished
Jenkins Groovy Plugin sandbox bypass vulnerability
CVE-2019-1003001 · GHSA-6q78-6xvr-26fg
- Affected
- Maven org.jenkins-ci.plugins:pipeline-model-definition <= 1.3.4
- Fixed in
- 1.3.4.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.3.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.