CVE-2020-2180:
RCE vulnerability in Jenkins AWS SAM Plugin
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73202%
CWE
Published
5/24/2022
Updated
12/6/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.jenkins.plugins:aws-sam | maven | <= 1.2.2 | 1.2.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from using snakeyaml's unsafe Constructor
class which permits arbitrary type instantiation. The commit explicitly changes the base class from Constructor
to SafeConstructor
and upgrades snakeyaml to 1.26, which restricts deserialization to safe types. The IntrinsicsYamlConstructor
's inheritance hierarchy before patching directly enabled the exploit vector.