CVE-2022-1471
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2022-1471. We'll provide specific mitigation strategies based on your environment and risk profile.
CVSS Score
V3.1EPSS Score
v2025.03.14There is a 93.8% chance that this vulnerability will be exploited in the wild within the next 30 days.
Attack Vector Metrics
Impact Metrics
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.
Available Exploits
Related News
SnakeYAML is a widely used Java library for parsing and dumping YAML. However, a critical security vulnerability, CVE-2022-1471, was discovered in earlier versions, allowing remote code execution (RCE) through unsafe deserialization. Let us delve into underst…
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
SnakeYaml Constructor Deserialization Remote Code Execution
GHSA-mjmj-j48q-9wg2Advisory Details
Affected Packages
CVSS Scoring
CVSS Score
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
References
Advisory provided by GitHub Security Advisory Database. Published: December 12, 2022, Modified: June 18, 2025