HIGH8.8
GHSA-x5jm-rj37-5qh7
Sandbox Bypass in Script Security Plugin
Quick fix
GHSA-x5jm-rj37-5qh7 — org.jenkins-ci.plugins:script-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.51</version> for org.jenkins-ci.plugins:script-securityDetails
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.50 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.plugins:script-security
Introduced in:
0Fixed in: 1.51Fix
# pom.xml: bump <version>1.51</version> for org.jenkins-ci.plugins:script-securityReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-1003005[ADVISORY]
- https://github.com/jenkinsci/script-security-plugin/commit/35119273101af26792457ec177f34f6f4fa49d99[WEB]
- https://access.redhat.com/errata/RHSA-2019:0739[WEB]
- https://github.com/jenkinsci/script-security-plugin[PACKAGE]
- https://jenkins.io/security/advisory/2019-01-28/#SECURITY-1292[WEB]
- http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.html[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.jenkins-ci.plugins/script-security"]}'