CVE-2019-1003031 Script security sandbox bypass in Matrix Project Plugin

Critical 9.9 Published Updated

Attackers with Job/Configure permission can execute arbitrary code on the Jenkins master JVM via a sandbox bypass in the Matrix Project 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-1003031?

CVE-2019-1003031 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 Matrix Project Plugin 1.13 and earlier in pom.xml, src/main/java/hudson/matrix/FilterScript.java that allows attackers with Job/Configure permission to execute arbitrary code on the Jenkins master JVM.

Which versions are affected by CVE-2019-1003031?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:matrix-project MavenAll versions1.14
org.jenkins-ci.plugins:matrix-project MavenAll versions1.14

Products include Jenkins Matrix Project, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003031?

Upgrade org.jenkins-ci.plugins:matrix-project to 1.14 or later.

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

Is CVE-2019-1003031 being exploited?

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

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-qxf8-8837-hq7w.

Is CVE-2019-1003031 in your software?

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

Check your SBOMs for free