~ / search / GHSA-gqhm-4h93-rrhg

GHSA-gqhm-4h93-rrhg

Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

Source: GitHub Advisory Database (reviewed) High CVE-2018-1000866

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins.workflow:workflow-cps < 2.60 2.60
Maven org.jenkins-ci.plugins:script-security < 1.48 1.48

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.