What’s Vulnerable › Vulnerabilities
CVE-2022-38752: DoS in SnakeYAML
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-05 · updated 2026-06-17
- Weakness: CWE-121
Description
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack-overflow.
Affected products
- SnakeYAML: before 1.32 — fixed in 1.32
- Maven Org.Yaml:Snakeyaml: before 1.32; 1.10, 1.11, 1.12, 1.13, 1.14, 1.15 (+22) — fixed in 1.32
How to fix
Upgrade to a fixed version: SnakeYAML 1.32; Maven Org.Yaml:Snakeyaml 1.32. Check the vendor advisory for mitigations.
References
- https://bitbucket.org/snakeyaml/snakeyaml/issues/531/stackoverflow-oss-fuzz-47081
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47081
- https://security.gentoo.org/glsa/202305-28
- https://security.netapp.com/advisory/ntap-20240315-0009/
- https://bitbucket.org/snakeyaml/snakeyaml/issues/531/stackoverflow-oss-fuzz-47081
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47081
- https://security.gentoo.org/glsa/202305-28
- https://security.netapp.com/advisory/ntap-20240315-0009/
Get alerted when CVE-2022-38752 or the next vulnerability affects your stack