Jenkins Groovy Plugin sandbox bypass vulnerability
Jenkins project Pipeline: Groovy Plugin
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow:workflow-cps-parent Maven |
|
|
| org.jenkins-ci.plugins:pipeline-model-definition Maven |
|
|
Jenkins project Pipeline: Groovy Plugin
| Product | Affected | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow:workflow-cps-parent Maven |
|
|
| org.jenkins-ci.plugins:pipeline-model-definition Maven |
|
|
|
|
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.
From the CVE record · jenkins
Pipeline: Groovy Plugin 2.61 and earlier has a sandbox bypass in pipeline script handling. An attacker with Overall/Read permission can submit a pipeline script to an HTTP endpoint, potentially executing arbitrary code on the Jenkins master JVM.
Check Jenkins installations running Pipeline: Groovy Plugin 2.61 or earlier, or the listed Maven packages below their fixed versions.