Jenkins Script Security Plugin Sandbox Bypass
CVE-2019-1003029 is a critical-severity vulnerability in Jenkins Script Security Plugin from Jenkins, with a CVSS 3.1 base score of 9.9 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected Jenkins Script Security Plugin versions: 1.53 and earlier. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on April 25, 2022, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Check which version of Jenkins Script Security Plugin you run against the affected versions below, and install the vendor's latest release.
- CISA's required action: Apply updates per vendor instructions.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Jenkins project | Jenkins Script Security Plugin | 1.53 and earlier | Not stated |
| Jenkins | Script Security | 1.53 and earlier | Not stated |
| Red Hat | Openshift Container Platform | 3.11 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.9 | Critical | NVD |
| CVSS 3.1 | 9.9 | Critical | CISA (ADP) |
| CVSS 2.0 | 6.5 | Medium | NVD |
Official description
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.53 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java, src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission to execute arbitrary code on the Jenkins master JVM.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.htmlThird Party Advisory, VDB Entry
- access.redhat.com/errata/RHSA-2019:0739Third Party Advisory
- jenkins.io/security/advisory/2019-03-06/#SECURITY-1336%20%281%29Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-1003029US Government Resource
Other vulnerabilities in Jenkins Script Security Plugin
- 7.5 High severity
- 7.5 High severity
- 8.0 High severity
- 8.5 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.