CVE-2018-1000865 Improper Privilege Management in Jenkins

High 8.8 Published Updated

Attackers with Job/Configure permission can bypass the Groovy sandbox to execute arbitrary code on the Jenkins master JVM.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1000865?

CVE-2018-1000865 is a high-severity vulnerability in Redhat Openshift Container Platform, published on 10 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A sandbox bypass vulnerability exists in Script Security Plugin 1.47 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java that allows attackers with Job/Configure permission to execute arbitrary code on the Jenkins master JVM, if plugins using the Groovy sandbox are installed.

Weakness: CWE-269

Which versions are affected by CVE-2018-1000865?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 2 products.

PackageAffectedFixed in
org.jenkins-ci.plugins:script-security MavenAll versions1.48
org.jenkins-ci.plugins:script-security MavenAll versions1.48

Products include Jenkins Script Security, Redhat Openshift Container Platform.

How do I fix CVE-2018-1000865?

Upgrade org.jenkins-ci.plugins:script-security to 1.48 or later.

Is CVE-2018-1000865 being exploited?

There is no known exploitation of CVE-2018-1000865 in the wild and no public exploit code.

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-p4p5-3v2j-w5rv.

Is CVE-2018-1000865 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free