CVE-2018-1000866

High

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

SeverityHigh
CVSS8.8
Exploit probability—
ProductJenkins Pipeline\
PublishedDec 10, 2018
First seenDec 10, 2018

How to fix

Update
  • org.jenkins-ci.plugins.workflow:workflow-cps2.60 or later
  • org.jenkins-ci.plugins:script-security1.48 or later

Affected products

ProductAffected versionsFixed in
jenkins pipeline\_groovy ≤ v ≤ 2.59—
redhat openshift_container_platform3.11—
org.jenkins-ci.plugins.workflow:workflow-cpsMavenv < 2.602.60
org.jenkins-ci.plugins:script-securityMavenv < 1.481.48

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.