CVE-2020-2180 RCE vulnerability in Jenkins AWS SAM Plugin

High 8.8 Published Updated

Remote attackers can execute arbitrary code via unsafe YAML deserialization in the Jenkins AWS SAM 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-2180?

CVE-2020-2180 is a high-severity unsafe deserialization vulnerability in Jenkins AWS SAM 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 AWS SAM Plugin 1.2.2 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-2180?

2 open source packages ship an affected version, including io.jenkins.plugins:aws-sam. It affects 1 product.

PackageAffectedFixed in
io.jenkins.plugins:aws-sam MavenAll versions1.2.3
io.jenkins.plugins:aws-sam MavenAll versions1.2.3

Products include Jenkins Amazon Web Services Serverless Application Model.

How do I fix CVE-2020-2180?

Upgrade io.jenkins.plugins:aws-sam to 1.2.3 or later.

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

Is CVE-2020-2180 being exploited?

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

Sources

Also known as GHSA-qrm8-cw73-r9w8.

Is CVE-2020-2180 in your software?

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

Check your SBOMs for free