CVE-2022-1471
CRITICALSnakeYaml Constructor Deserialization Remote Code Execution
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
org.yaml:snakeyamlReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.yaml:snakeyaml | all versions | 2.0 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
SnakeYaml's Constructor() class does not restrict types which can be ins…
SnakeYaml's Constructor() class does not restrict types which can be ins…
SnakeYaml's Constructor() class does not restrict types which can be ins…
SnakeYaml's Constructor() class does not restrict types which can be ins…
SnakeYaml's Constructor() class does not restrict types which can be ins…
Frequently Asked Questions
Is CVE-2022-1471 in your stack?
O3 detects CVE-2022-1471 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.