CVE-2019-1003034: Script security sandbox bypass in Jenkins Job DSL Plugin
Summary
CVE-2019-1003034: Script security sandbox bypass in Jenkins Job DSL Plugin. Affects org.jenkins-ci.plugins:job-dsl versions < 1.72. Fixed in 1.72. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Jenkins Job DSL Plugin is a tool that allows users to define jobs using a Groovy-based domain-specific language (DSL). It provides a way to automate the creation and configuration of Jenkins jobs. The plugin is widely used in the Jenkins community and is an essential component for managing job definitions. However, versions 1.71 and earlier of the plugin are vulnerable to a sandbox bypass, which can be exploited by attackers with control over Job DSL definitions to execute arbitrary code on the Jenkins master JVM.
Vulnerability Detail
The vulnerability exists in several files of the Jenkins Job DSL Plugin, including AbstractDslScriptLoader.groovy, JobDslWhitelist.groovy, and SandboxDslScriptLoader.groovy. This vulnerability allows attackers to bypass the script security sandbox and execute arbitrary code on the Jenkins master JVM. This can lead to unauthorized access, data breaches, and potential compromise of the entire Jenkins environment. The vulnerability has a CVSS score of 9.9, indicating its critical severity.
How To Fix
Minimum fixed version
1.72
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version of the Jenkins Job DSL Plugin as soon as possible.
Conclusion
The Jenkins Job DSL Plugin is vulnerable to a sandbox bypass, allowing attackers to execute arbitrary code on the Jenkins master JVM. To mitigate this risk, users should upgrade to version 1.72 or later of the plugin. Regularly updating all plugins is recommended to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:job-dsl →
FAQ
The Jenkins Job DSL Plugin is a tool that allows users to define jobs using a Groovy-based domain-specific language (DSL). It provides a way to automate the creation and configuration of Jenkins jobs.
The vulnerability allows attackers with control over Job DSL definitions to execute arbitrary code on the Jenkins master JVM. This can lead to unauthorized access, data breaches, and potential compromise of the entire Jenkins environment.
The CVSS score of this vulnerability is 9.9, indicating its critical severity.
To fix this vulnerability, users should upgrade to version 1.72 or later of the Jenkins Job DSL Plugin. This version includes a fix for the sandbox bypass vulnerability.
There is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version of the Jenkins Job DSL Plugin as soon as possible.