CVE-2020-2134: Sandbox bypass vulnerability in Script Security Plugin
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40535%
CWE
Published
5/24/2022
Updated
12/22/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:script-security | maven | < 1.7.1 | 1.7.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key flaws: 1) GroovyInterceptable method calls were not forced through the invokeMethod() gateway, allowing arbitrary method execution, and 2) synthetic constructor wrappers for super/this calls were not blacklisted, enabling direct unsafe constructor invocation. The commit addresses these by adding GroovyInterceptable handling in method dispatch and blacklisting the dangerous constructors. The test cases confirm these vectors were exploitable in vulnerable versions.