CVE-2019-1003032 Script security sandbox bypass in Jenkins Email Extension 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 Email Extension 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-1003032?

CVE-2019-1003032 is a critical code injection vulnerability in Jenkins Email Extension Plugin, 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 Email Extension Plugin 2.64 and earlier in pom.xml, src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java, src/main/java/hudson/plugins/emailext/plugins/content/EmailExtScript.java, src/main/java/hudson/plugins/emailext/plugins/content/ScriptContent.java, src/main/java/hudson/plugins/emailext/plugins/trigger/AbstractScriptTrigger.java that allows attackers with Job/Configure permission to execute arbitrary code on the Jenkins master JVM.

Which versions are affected by CVE-2019-1003032?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:email-ext. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:email-ext MavenAll versions2.65
org.jenkins-ci.plugins:email-ext MavenAll versions2.65

Products include Jenkins Email Extension.

How do I fix CVE-2019-1003032?

Upgrade org.jenkins-ci.plugins:email-ext to 2.65 or later.

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

Is CVE-2019-1003032 being exploited?

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

Sources

Also known as GHSA-qwm8-vgm6-f86p.

Is CVE-2019-1003032 in your software?

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

Check your SBOMs for free