CVE-2020-2123 RCE vulnerability in RadarGun Plugin
Remote attackers can execute arbitrary code on Jenkins servers via unsafe YAML deserialization in the RadarGun 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-2123?
CVE-2020-2123 is a high-severity unsafe deserialization vulnerability in Jenkins RadarGun Plugin, published on 12 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins RadarGun Plugin 1.7 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-2123?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:radargun. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:radargun Maven | All versions | 1.8 |
org.jenkins-ci.plugins:radargun Maven | All versions | 1.8 |
Products include Jenkins Radargun.
How do I fix CVE-2020-2123?
Upgrade org.jenkins-ci.plugins:radargun to 1.8 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2020-2123 being exploited?
There is no known exploitation of CVE-2020-2123 in the wild and no public exploit code.
Sources
Also known as GHSA-723p-9rcj-xv8j.