CVE-2019-1003024 Jenkins Script Security Plugin sandbox bypass vulnerability

High 8.8 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
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-1003024?

CVE-2019-1003024 is a high-severity code injection vulnerability in Redhat Openshift Container Platform, published on 20 Feb 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.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.

Which versions are affected by CVE-2019-1003024?

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

Products include Jenkins Script Security, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003024?

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

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

Is CVE-2019-1003024 being exploited?

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

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-jgpm-2862-q5m8.

Is CVE-2019-1003024 in your software?

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

Check your SBOMs for free