CVE-2019-1003000 Protection Mechanism Failure in Jenkins Script Security Plugin

High 8.8 Published Updated

Attackers can bypass the Groovy sandbox to execute arbitrary code on the Jenkins master JVM via malicious scripts.

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-2019-1003000?

CVE-2019-1003000 is a high-severity code injection vulnerability in Redhat Openshift Container Platform, published on 22 Jan 2019. 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.49 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java that allows attackers with the ability to provide sandboxed scripts to execute arbitrary code on the Jenkins master JVM.

Which versions are affected by CVE-2019-1003000?

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.50
org.jenkins-ci.plugins:script-security MavenAll versions1.50

Products include Jenkins Script Security, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003000?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-1003000 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-1003000 exists.

Public exploit code: 1 Metasploit module, 4 Exploit-DB entries, 1 Nuclei template and 5 proofs of concept on GitHub.

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-784j-h234-m56x.

Is CVE-2019-1003000 in your software?

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

Check your SBOMs for free