CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass

Exploited in the wild Critical 9.9 Published Updated

Attackers with read permissions can execute arbitrary code on the Jenkins master via a sandbox bypass in the Script Security Plugin.

Exploited in the wild
Since 25 Apr 2022
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-1003029?

CVE-2019-1003029 is a critical code injection vulnerability in Redhat Openshift Container Platform, published on 8 Mar 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 Jenkins Script Security Plugin 1.53 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java, src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission to execute arbitrary code on the Jenkins master JVM.

Which versions are affected by CVE-2019-1003029?

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

Products include Jenkins Script Security, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003029?

Upgrade org.jenkins-ci.plugins:script-security to 1.54 or later. US federal agencies must fix it by 16 May 2022.

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

Is CVE-2019-1003029 being exploited?

Yes. Attackers have exploited CVE-2019-1003029 in the wild since at least 25 Apr 2022.

Public exploit code: 1 Metasploit module.

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-xvxq-hq48-xphm.

Is CVE-2019-1003029 in your software?

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

Check your SBOMs for free