CVE-2018-1000866
HIGH8.8EPSS 0.61%Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass
Published: 5/13/2022Modified: 2/16/2024
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
Affected packages (2)
- Maven/org.jenkins-ci.plugins:script-securityfrom 0, < 1.48
- Maven/org.jenkins-ci.plugins.workflow:workflow-cpsfrom 0, < 2.60
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-1000866
- WEBhttps://access.redhat.com/errata/RHBA-2019:0326
- WEBhttps://access.redhat.com/errata/RHBA-2019:0327
- WEBhttps://github.com/jenkinsci/script-security-plugin/commit/16c862ae9d4038a3edbd8bdfb0fd1401a509d56b
- WEBhttps://github.com/jenkinsci/workflow-cps-plugin/commit/0eb89aaf24065dbbdf6db84516ac1a52cd435e6d
- WEBhttps://github.com/jenkinsci/workflow-cps-plugin/commit/e1c56eb6d85d513cb24dfe188e6f592d0ff84b38
- WEBhttps://jenkins.io/security/advisory/2018-10-29/#SECURITY-1186