CVE-2020-2179: RCE vulnerability in Jenkins Yaml Axis Plugin
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73202%
CWE
Published
5/24/2022
Updated
12/22/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 |
---|---|---|---|
org.jenkins-ci.plugins:yaml-axis | maven | <= 0.2.0 | 0.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsafe YAML deserialization due to missing SafeConstructor
configuration. The commit diff shows both YamlFileLoader
and YamlTextLoader
classes were modified to replace 'new Yaml()
' with 'new Yaml(new SafeConstructor())
'. Prior to this fix, the default snakeyaml
parser would allow instantiation of arbitrary Java types via YAML payloads. These two functions
directly handle YAML parsing for the plugin's axis configuration, making them the entry points for exploitation. The high confidence comes from explicit evidence in the patch and CWE-502
classification.