CVE-2022-38751 DoS in SnakeYAML
Attackers can cause a stack overflow and crash the application by supplying malicious YAML content to the SnakeYAML parser.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-38751?
CVE-2022-38751 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 5 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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 stackoverflow.
Which versions are affected by CVE-2022-38751?
2 open source packages ship an affected version, including org.yaml:snakeyaml. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.yaml:snakeyaml Maven | All versions | 1.31 |
org.yaml:snakeyaml Maven | All versions | 1.31 |
Products include Debian Debian Linux, Snakeyaml Project Snakeyaml.
How do I fix CVE-2022-38751?
Upgrade org.yaml:snakeyaml to 1.31 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-38751 being exploited?
There is no known exploitation of CVE-2022-38751 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-QZ30630, CLEANSTART-2026-VV70197, DEBIAN-CVE-2022-38751, ECHO-a851-8cb1-83dc, GHSA-98wm-3w3q-mw94, MINI-89p2-2xjm-c3mp and 1 more.