CVE-2018-1000866
Description
A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.59 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java, groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java that allows attackers with Job/Configure permission, or unauthorized attackers with SCM commit privileges and corresponding pipelines based on Jenkinsfiles set up in Jenkins, to execute arbitrary code on the Jenkins master JVM
How to fix
- org.jenkins-ci.plugins.workflow:workflow-cps2.60 or later
- org.jenkins-ci.plugins:script-security1.48 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jenkins pipeline\ | _groovy ≤ v ≤ 2.59 | — |
| redhat openshift_container_platform | 3.11 | — |
| org.jenkins-ci.plugins.workflow:workflow-cpsMaven | v < 2.60 | 2.60 |
| org.jenkins-ci.plugins:script-securityMaven | v < 1.48 | 1.48 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.