CVE-2020-2158 Remote Code Execution vulnerability in Jenkins Literate Plugin

High 8.8 Published Updated

Remote attackers can execute arbitrary code via unsafe YAML deserialization in the Jenkins Literate Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-2158?

CVE-2020-2158 is a high-severity unsafe deserialization vulnerability in Jenkins Literate Plugin, published on 9 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Literate Plugin 1.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-2158?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:literate. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:literate MavenAll versions to 1.0None
org.jenkins-ci.plugins:literate MavenAll versions to 1.0None

Products include Jenkins Literate.

How do I fix CVE-2020-2158?

No fix has been published for CVE-2020-2158 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2020-2158 being exploited?

There is no known exploitation of CVE-2020-2158 in the wild and no public exploit code.

Sources

Also known as GHSA-c329-r874-xc7j.

Is CVE-2020-2158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free