CVE-2019-1003024 Jenkins Script Security Plugin sandbox bypass vulnerability
Attackers with read permissions can execute arbitrary code on the Jenkins master via a sandbox bypass in the Script Security 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-1003024?
CVE-2019-1003024 is a high-severity code injection vulnerability in Redhat Openshift Container Platform, published on 20 Feb 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 Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
Which versions are affected by CVE-2019-1003024?
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.53 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1.53 |
Products include Jenkins Script Security, Redhat Openshift Container Platform.
How do I fix CVE-2019-1003024?
Upgrade org.jenkins-ci.plugins:script-security to 1.53 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-1003024 being exploited?
There is no known exploitation of CVE-2019-1003024 in the wild and no public exploit code.
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-jgpm-2862-q5m8.