Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xdmhmLTM1NjctcGM0ds4AAjxn
Sandbox bypass vulnerability in Script Security Plugin
Sandbox protection in Script Security Plugin 1.70 and earlier can be circumvented through:\n- 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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xdmhmLTM1NjctcGM0ds4AAjxn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 12 months ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-qvhf-3567-pc4v, CVE-2020-2135
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-2135
- https://jenkins.io/security/advisory/2020-03-09/#SECURITY-1754
- http://www.openwall.com/lists/oss-security/2020/03/09/1
- https://github.com/jenkinsci/script-security-plugin/commit/5b1969e0bdf5cde04a165b847144756b28495788
- https://github.com/advisories/GHSA-qvhf-3567-pc4v
Blast Radius: 1.0
Affected Packages
maven:org.jenkins-ci.plugins:script-security
Affected Version Ranges: <= 1.70Fixed in: 1.71