CVE-2022-1471

CVE-2022-1471 is a high-severity vulnerability in Snakeyaml Project Snakeyaml with a CVSS 3.x base score of 8.3. Its EPSS exploit-prediction score of 100% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-502.

Key facts

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.

Frequently asked questions

What is CVE-2022-1471?
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.
How severe is CVE-2022-1471?
CVE-2022-1471 has a CVSS 3.x base score of 8.3, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
Is CVE-2022-1471 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 100% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2022-1471?
CVE-2022-1471 affects Snakeyaml Project Snakeyaml. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2022-1471?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2022-1471 published?
CVE-2022-1471 was published on 2022-12-01 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Snakeyaml Project Snakeyaml

All CVEs affecting Snakeyaml Project Snakeyaml →

Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities

Browse all CWE-502 (Deserialization of Untrusted Data) vulnerabilities →