VulnerabilityModified
CVE-2022-1471
SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization.
CRITICAL 9.8EPSS 99.6%
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 99.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 99.57% probability · 100th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20, CWE-502
- Affected
- snakeyaml project/snakeyaml
- Source
- cve-coordination@google.com
References
- http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2023/11/19/1
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479Issue Tracking, Third Party Advisory
- https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsecExploit, Third Party Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
- https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c
- https://security.netapp.com/advisory/ntap-20230818-0015/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=trueExploit, Third Party Advisory
- http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2023/11/19/1
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479Issue Tracking, Third Party Advisory
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsecExploit, Third Party Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
- https://security.netapp.com/advisory/ntap-20230818-0015/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=trueExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.