CVE-2020-2279
mediumpriority · track · 41EPSS 0.021 · 82 %ileEUUSEPSS · scored 2026-10-27
A sandbox bypass vulnerability in Jenkins Script Security Plugin 1.74 and earlier allows attackers with permission to define sandboxed scripts to provide crafted return values or script binding content that can result in arbitrary code execution on the Jenkins controller JVM.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.5–9.9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- Maven org.jenkins-ci.plugins:script-security< 1.66.5osvUSpkg:maven/org.jenkins-ci.plugins/script-security
- Maven org.jenkins-ci.plugins:script-security1.67 → 1.75osvUSpkg:maven/org.jenkins-ci.plugins/script-security
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-ccr8-4xr7-cgj3Sandbox bypass vulnerability in Jenkins Script Security Plugin2022-05-24ghsa · osvUS
Jenkins Script Security Plugin provides a sandbox feature that allows low privileged users to define scripts, including Pipelines, that are generally safe to execute. Calls to code defined inside a sandboxed script are intercepted, and various allowlists are checked to determine whether the call is to be allowed. In Script Security Plugin 1.75 and 1.66.5, any calls from outside a sandboxed script to code defined inside a sandboxed script were always allowed. As sandboxed scripts can communicate their results through script return values and similar mechanisms, this could result in code defined inside of a sandboxed script to be called without sandbox protection. This vulnerability allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM. Script Security Plugin 1.75 and 1.66.5 will prevent code defined inside a sandbox from being invoked outside a sandboxed script. In rare cases, invocations of sandboxed scripts may begin failing if the script return value or script binding include code defined in the sandbox and is further processed by the calling code. To resolve this issue, the affected values need to be converted inside the sandboxed script to a known safe type, such as `String`. For compatibility with this change, the following plugins should be upgraded to the versions specified: - [Email Extension Plugin](https://plugins.jenkins.io/email-ext) should be updated to version 2.77 or newer. - [Warnings Next Generation Plugin](https://plugins.jenkins.io/warnings-ng) should be updated to version 8.4.3 or newer. - [Warnings Plugin](https://plugins.jenkins.io/warnings) should be updated to version 5.0.2 or newer.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2020/09/23/1cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-2279cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-seven-vulnerabilities-33399cnnvd
- https://www.jenkins.io/security/advisory/2020-09-23/#SECURITY-1958Patchcnnvd
- https://www.jenkins.io/security/advisory/2020-09-23/#SECURITY-2020cnnvd
- http://www.openwall.com/lists/oss-security/2020/09/23/1enisa_euvd
- https://www.jenkins.io/security/advisory/2020-09-23/#SECURITY-2020enisa_euvd
- http://www.openwall.com/lists/oss-security/2020/09/23/1Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan