NetSight
high8.8

CVE-2018-1000866

Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins.workflow:workflow-cps< 2.602.60
mavenorg.jenkins-ci.plugins:script-security< 1.481.48

Affected products

VendorProductAffected versions
JenkinsPipeline\
through 2.59
RedhatOpenshift Container Platform
Version 3.11

Weakness classification

References