{"id":"CVE-2022-1471","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-1471","generatedAt":"2026-11-04T23:56:21.505Z","title":"SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization.","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.","published":"2022-12-01T11:15:11.000Z","lastModified":"2026-06-17T04:22:31.000Z","status":"Modified","sourceIdentifier":"cve-coordination@google.com","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-20","CWE-502"],"affected":["snakeyaml project/snakeyaml"],"epss":{"score":0.99501,"percentile":0.99946,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 99.5%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html","source":"cve-coordination@google.com"},{"url":"http://www.openwall.com/lists/oss-security/2023/11/19/1","source":"cve-coordination@google.com"},{"url":"https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479","tags":["Issue Tracking","Third Party Advisory"],"source":"cve-coordination@google.com"},{"url":"https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html","source":"cve-coordination@google.com"},{"url":"https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2","tags":["Exploit","Third Party Advisory"],"source":"cve-coordination@google.com"},{"url":"https://github.com/mbechler/marshalsec","tags":["Exploit","Third Party Advisory"],"source":"cve-coordination@google.com"},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc","source":"cve-coordination@google.com"},{"url":"https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c","source":"cve-coordination@google.com"},{"url":"https://security.netapp.com/advisory/ntap-20230818-0015/","source":"cve-coordination@google.com"},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","source":"cve-coordination@google.com"},{"url":"https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true","tags":["Exploit","Third Party Advisory"],"source":"cve-coordination@google.com"},{"url":"http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2023/11/19/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mbechler/marshalsec","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20230818-0015/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1471","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}