CVE-2020-2179 RCE vulnerability in Jenkins Yaml Axis Plugin
Remote attackers can execute arbitrary code on Jenkins servers by exploiting unsafe YAML deserialization in the Yaml Axis Plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-2179?
CVE-2020-2179 is a high-severity unsafe deserialization vulnerability in Jenkins Yaml Axis Plugin, published on 16 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Yaml Axis Plugin 0.2.0 and earlier does not configure its YAML parser to prevent the instantiation of arbitrary types, resulting in a remote code execution vulnerability.
Weakness: CWE-502
Which versions are affected by CVE-2020-2179?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:yaml-axis. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:yaml-axis Maven | All versions | 0.2.1 |
org.jenkins-ci.plugins:yaml-axis Maven | All versions | 0.2.1 |
Products include Jenkins Yaml Axis.
How do I fix CVE-2020-2179?
Upgrade org.jenkins-ci.plugins:yaml-axis to 0.2.1 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2020-2179 being exploited?
There is no known exploitation of CVE-2020-2179 in the wild and no public exploit code.
Sources
Also known as GHSA-324h-2v7h-q3xx.