CVE-2019-1003000 Protection Mechanism Failure in Jenkins Script Security Plugin
Attackers can bypass the Groovy sandbox to execute arbitrary code on the Jenkins master JVM via malicious scripts.
- 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-1003000?
CVE-2019-1003000 is a high-severity code injection vulnerability in Redhat Openshift Container Platform, published on 22 Jan 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 Script Security Plugin 1.49 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java that allows attackers with the ability to provide sandboxed scripts to execute arbitrary code on the Jenkins master JVM.
Which versions are affected by CVE-2019-1003000?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:script-security Maven | All versions | 1.50 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1.50 |
Products include Jenkins Script Security, Redhat Openshift Container Platform.
How do I fix CVE-2019-1003000?
Upgrade org.jenkins-ci.plugins:script-security to 1.50 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-1003000 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-1003000 exists.
Public exploit code: 1 Metasploit module, 4 Exploit-DB entries, 1 Nuclei template and 5 proofs of concept on GitHub.
Other vulnerabilities in Redhat Openshift Container Platform
- CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass
- CVE-2022-43401 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
- CVE-2022-43404 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2020-2279 Sandbox bypass vulnerability in Jenkins Script Security Plugin
Sources
Also known as GHSA-784j-h234-m56x.