CVE-2020-2166 RCE vulnerability in Jenkins Pipeline: AWS Steps Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
de.taimos:pipeline-aws Maven | All versions | 1.41 |
de.taimos:pipeline-aws Maven | All versions | 1.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.
Other vulnerabilities in Jenkins Pipeline: AWS Steps Plugin
- CVE-2019-1003030 Jenkins Matrix Project Plugin Remote Code Execution
- CVE-2022-43402 Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution
- CVE-2019-1003041 Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Plugin
- CVE-2022-43407 CSRF protection for any URL can be bypassed in Jenkins Pipeline: Input Step Plugin
- CVE-2022-25173 Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
Sources
Also known as GHSA-w598-25hm-jqx3.