CVE-2020-2135: High severity Jenkins Script Security Jenkins vulnerability

Published Mar 9, 2020
·
Updated

Sandbox protection in Jenkins Script Security Plugin 1.70 and earlier could be circumvented through crafted method calls on objects that implement GroovyInterceptable.

Other sources

Sandbox protection in Script Security Plugin 1.70 and earlier can be circumvented through: - Crafted constructor calls and bodies (due to an incomplete fix of SECURITY-582) - Crafted method calls on objects that implement GroovyInterceptable

This allows attackers able to specify and run sandboxed scripts to execute arbitrary code in the context of the Jenkins controller JVM.

Script Security Plugin 1.71 has additional restrictions and sanity checks to ensure that super constructors cannot be constructed without being intercepted by the sandbox. In addition, it also intercepts method calls on objects that implement GroovyInterceptable as calls to GroovyObject#invokeMethod(String, Object), which is on the list of dangerous signatures and should not be approved for use in the sandbox.

GitHub

Affected Software

2 affected componentsFixes available
maven/org.jenkins-ci.plugins:script-security<=1.70
1.71
Jenkins Script Security Jenkins<=1.70

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.jenkins-ci.plugins:script-security to a version that resolves this vulnerability.

    Fixed in 1.71
  2. Upgrade

    Upgrade Jenkins Script Security Plugin to a version that resolves this vulnerability.

    Fixed in 1.71Patch SECURITY-582

Event History

Mar 9, 2020
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
05:10 PM
Data Sourced
via GitHub·05:10 PM
DescriptionSeverityWeaknessAffected Software
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-2020-2135?

CVE-2020-2135 has a medium severity rating due to the potential circumvention of sandbox protections in Jenkins.

2

How do I fix CVE-2020-2135?

To fix CVE-2020-2135, upgrade the Jenkins Script Security Plugin to version 1.71 or later.

3

What systems are affected by CVE-2020-2135?

CVE-2020-2135 affects Jenkins Script Security Plugin versions up to and including 1.70.

4

What type of vulnerability is CVE-2020-2135?

CVE-2020-2135 is a vulnerability that allows for the circumvention of sandbox protections through crafted method calls.

5

Who reported CVE-2020-2135?

CVE-2020-2135 was reported as part of ongoing security improvements and vulnerability disclosures in 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