CVE-2019-1003029: Sandbox bypass in Script Security Plugin
CVE-2019-1003029 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2022-05-13
A sandbox bypass vulnerability in the Jenkins Script Security Plugin allows attackers with Overall/Read permission to execute arbitrary code on the Jenkins master JVM. The flaw exists in the GroovySandbox.java and SecureGroovyScript.java components due to a protection mechanism failure.
Yes. org.jenkins-ci.plugins:script-security (Maven): upgrade to 1.54 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2019-1003029 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2019-1003029?
Check whether you run Jenkins Script Security Plugin or org.jenkins-ci.plugins:script-security (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.jenkins-ci.plugins:script-security (Maven): upgrade to 1.54 or later
# set org.jenkins-ci.plugins:script-security to 1.54 in your pom.xml or build.gradle
Affected products
Jenkins Project Script Security Plugin 1.53 and earlier