CVE-2020-2134: High severity Jenkins Script Security Jenkins vulnerability
Sandbox protection in Jenkins Script Security Plugin 1.70 and earlier could be circumvented through crafted constructor calls and crafted constructor bodies.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.jenkins-ci.plugins:script-securityto a version that resolves this vulnerability.Fixed in 1.7.1 - Upgrade
Upgrade
Jenkins Script Security Pluginto a version that resolves this vulnerability.Fixed in 1.71Patch SECURITY-582
Event History
Frequently Asked Questions
What is the severity of CVE-2020-2134?
CVE-2020-2134 has a medium severity level due to the potential circumvention of sandbox protections.
How do I fix CVE-2020-2134?
To fix CVE-2020-2134, update the Jenkins Script Security Plugin to version 1.71 or later.
Which versions are affected by CVE-2020-2134?
CVE-2020-2134 affects Jenkins Script Security Plugin versions 1.70 and earlier.
What type of vulnerability is CVE-2020-2134?
CVE-2020-2134 is a circumvention of sandbox protections in Jenkins.
Can CVE-2020-2134 lead to code execution?
Yes, CVE-2020-2134 can potentially allow unauthorized script execution due to the vulnerability in sandbox protections.