CVE-2019-1003030 Jenkins Matrix Project Plugin Remote Code Execution

Exploited in the wild Critical 9.9 Published Updated

Attackers controlling pipeline scripts can bypass the sandbox to execute arbitrary code on the Jenkins master JVM.

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

What is CVE-2019-1003030?

CVE-2019-1003030 is a critical 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 Pipeline: Groovy Plugin 2.63 and earlier in pom.xml, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.java that allows attackers able to control pipeline scripts to execute arbitrary code on the Jenkins master JVM.

Weakness: CWE-693

Which versions are affected by CVE-2019-1003030?

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

PackageAffectedFixed in
org.jenkins-ci.plugins.workflow:workflow-cps MavenAll versions2.64
org.jenkins-ci.plugins.workflow:workflow-cps MavenAll versions2.64

Products include Jenkins Pipeline\, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003030?

Upgrade org.jenkins-ci.plugins.workflow:workflow-cps to 2.64 or later. US federal agencies must fix it by 15 Apr 2022.

Is CVE-2019-1003030 being exploited?

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

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 2 proofs of concept on GitHub.

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-r6mc-mrvr-23cr.

Is CVE-2019-1003030 in your software?

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

Check your SBOMs for free