CVE-2019-1003033 Jenkins Groovy Plugin sandbox bypass vulnerability
Attackers with read permissions can execute arbitrary code on the Jenkins master via a sandbox bypass in the Groovy 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-1003033?
CVE-2019-1003033 is a high-severity code injection vulnerability in Jenkins Groovy 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 Groovy Plugin 2.1 and earlier in pom.xml, src/main/java/hudson/plugins/groovy/StringScriptSource.java that allows attackers with Overall/Read permission to execute arbitrary code on the Jenkins master JVM.
Which versions are affected by CVE-2019-1003033?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:groovy. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:groovy Maven | All versions | 2.2 |
org.jenkins-ci.plugins:groovy Maven | All versions | 2.2 |
Products include Jenkins Groovy.
How do I fix CVE-2019-1003033?
Upgrade org.jenkins-ci.plugins:groovy to 2.2 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-1003033 being exploited?
There is no known exploitation of CVE-2019-1003033 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Groovy Plugin
Sources
Also known as GHSA-fm3j-r98g-97jh.