CVE-2022-1471: SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Dese
CVE-2022-1471 is a high-severity flaw (CVSS 8.3) affecting snakeyaml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-1471?
snakeyaml: upgrade to 2.0. Exact commands for each OS are on this page.
Is CVE-2022-1471 being exploited?
CVE-2022-1471 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-1471 affect?
CVE-2022-1471 affects snakeyaml. Severity is high (CVSS 8.3). 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 w
How urgent is CVE-2022-1471?
Priority 59/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2022-41854 MEDIUM 5.8 UPGRADE MITIGATE Those using Snakeyaml to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
- CVE-2022-38752 MEDIUM 6.5 UPGRADE Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
- CVE-2022-38751 MEDIUM 6.5 UPGRADE MITIGATE Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
- CVE-2022-38750 MEDIUM 6.5 UPGRADE MITIGATE Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
- CVE-2022-38749 MEDIUM 6.5 UPGRADE MITIGATE Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)