ZeroHour

CVE-2019-1003029

KEVlarge

Sandbox Bypass Enables RCE in Jenkins Script Security Plugin 1.53 and Earlier

CISA: Jenkins Script Security Plugin Sandbox Bypass Vulnerability

CVSS 3.1
9.9 critical
EPSS
74%p99
Published
()
KEV added
AI analysis

CVE-2019-1003029 is a sandbox bypass in the Jenkins Script Security Plugin (versions 1.53 and earlier) in GroovySandbox.java and SecureGroovyScript.java, allowing Groovy scripts that are supposed to be restricted by the sandbox to escape its protections. A remote attacker who has Overall/Read permission on a Jenkins instance can trigger the flaw and execute arbitrary code in the Jenkins master JVM, gaining high-impact access to the controller and, per the CVSS scope change, to resources it manages. Any Jenkins deployment running the affected plugin versions is exposed, including the Jenkins components bundled with Red Hat OpenShift Container Platform. Exploitation is confirmed in the wild: the flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2022-04-25, and EPSS estimates a 73.9% probability of exploitation within 30 days (99th percentile), though no public proof-of-concept is known and ransomware use is unconfirmed.

What to do: Upgrade the Script Security Plugin to version 1.54 or later (the first release after the affected 1.53), and apply the corresponding Jenkins updates in Red Hat OpenShift Container Platform per Red Hat's instructions. As interim mitigation, restrict Overall/Read access to untrusted users and limit who can submit or define sandboxed Groovy scripts. Confirm the update on any Jenkins instance in your environment, prioritizing internet-exposed controllers, since the flaw is on CISA's KEV list.

Affected
jenkins Script Security Plugin1.53 and earlier
redhat OpenShift Container Platformversions bundling an affected Script Security Plugin (1.53 or earlier)
Estimated exposure
largetens of thousands of internet-exposed Jenkins controllers; hundreds of thousands of plugin installations overall — Script Security Plugin is one of the most widely installed Jenkins plugins (commonly present in essentially all Jenkins setups, with hundreds of thousands of active installs), and public internet scans typically show tens of thousands of…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

CISA Known Exploited Vulnerability
Affected
Jenkins Script Security Plugin
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
jenkinsredhat
Products
script security, openshift container platform
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news