CVE-2019-1003005: High severity jenkins script security vulnerability

Published Jan 29, 2019
·
Updated

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.

Other sources

Jenkins Script Security plugin through version 1.50 is vulnerable to an incomplete fix to CVE-2019-1003000.

Script Security sandbox protection could be circumvented during the script compilation phase by applying AST transforming annotations such as @Grab to source code elements.

This affected an HTTP endpoint used to validate a user-submitted Groovy script that was not covered in the 2019-01-08 fix for SECURITY-1266 and allowed users with Overall/Read permission to bypass the sandbox protection and execute arbitrary code on the Jenkins master.

The affected HTTP endpoint now applies a safe Groovy compiler configuration prohibiting unsafe AST transforming annotations.

External Reference:

https://jenkins.io/security/advisory/2019-01-28/#SECURITY-1292

Upstream patches:

https://github.com/jenkinsci/script-security-plugin/commit/35119273101af26792457ec177f34f6f4fa49d99

Red Hat

Affected Software

3 affected componentsFixes available
maven/org.jenkins-ci.plugins:script-security<1.51
1.51
redhat/jenkins-script-security-plugin<1.51
1.51
Jenkins Script Security Jenkins<=1.50

Event History

Feb 6, 2019
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
May 13, 2022
Advisory Published
01:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-1003005?

CVE-2019-1003005 is rated as a high severity vulnerability.

2

How do I fix CVE-2019-1003005?

To fix CVE-2019-1003005, upgrade Jenkins Script Security Plugin to version 1.51 or later.

3

Who is impacted by CVE-2019-1003005?

CVE-2019-1003005 impacts Jenkins installations using Script Security Plugin version 1.50 and earlier.

4

What kind of vulnerability is CVE-2019-1003005?

CVE-2019-1003005 is a sandbox bypass vulnerability allowing unauthorized script execution.

5

What permissions are required to exploit CVE-2019-1003005?

Exploitation of CVE-2019-1003005 requires Overall/Read permission on Jenkins.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203