CVE-2020-2166 RCE vulnerability in Jenkins Pipeline: AWS Steps Plugin

High 8.8 Published Updated

Attackers can achieve remote code execution via unsafe YAML deserialization in the Jenkins AWS Steps 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-2166?

CVE-2020-2166 is a high-severity unsafe deserialization vulnerability in Jenkins Pipeline: AWS Steps Plugin, published on 25 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Pipeline: AWS Steps Plugin 1.40 and earlier does not configure its YAML parser to prevent the instantiation of arbitrary types, resulting in a remote code execution vulnerability.

Weakness: CWE-20

Which versions are affected by CVE-2020-2166?

2 open source packages ship an affected version, including de.taimos:pipeline-aws. It affects 1 product.

PackageAffectedFixed in
de.taimos:pipeline-aws MavenAll versions1.41
de.taimos:pipeline-aws MavenAll versions1.41

Products include Jenkins Pipeline\.

How do I fix CVE-2020-2166?

Upgrade de.taimos:pipeline-aws to 1.41 or later.

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

Is CVE-2020-2166 being exploited?

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

Sources

Also known as GHSA-w598-25hm-jqx3.

Is CVE-2020-2166 in your software?

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

Check your SBOMs for free