CVEvulnerability
CVE-2022-1471
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-12-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-502
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.
Affected configurations
• snakeyaml project snakeyaml (< 2.0)
Related
References
- http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html packetstormsecurity.com
- http://www.openwall.com/lists/oss-security/2023/11/19/1 www.openwall.com
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking, Third Party Advisory
- https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html confluence.atlassian.com
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsec Exploit, Third Party Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc groups.google.com
- https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c infosecwriteups.com
- https://security.netapp.com/advisory/ntap-20230818-0015/ security.netapp.com
- https://security.netapp.com/advisory/ntap-20240621-0006/ security.netapp.com
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html packetstormsecurity.com
- http://www.openwall.com/lists/oss-security/2023/11/19/1 www.openwall.com
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking, Third Party Advisory
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsec Exploit, Third Party Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc groups.google.com
- https://security.netapp.com/advisory/ntap-20230818-0015/ security.netapp.com
- https://security.netapp.com/advisory/ntap-20240621-0006/ security.netapp.com
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit, Third Party Advisory