HIGH 8.8

CVE-2018-1000866

Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » script-security
< 1.48
1.48
org.jenkins-ci.plugins.workflow » workflow-cps
< 2.60
2.60

Blast radius

2affected artifacts
247affected versions
428dependent artifacts (est.)
21,362dependent versions

52% of the dependent artifacts (223) still pull an affected version in their latest release.

DepthDependent versions
Direct
4,774
2 hops
10,848
3 hops
5,092
4 hops
636
5 hops
12

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.