CVE-2022-38749 DoS in SnakeYAML
Attackers can cause a denial of service via stack overflow by supplying malicious YAML content to applications using the SnakeYAML library.
- 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-38749?
CVE-2022-38749 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-38749?
14 open source packages ship an affected version, including be.cylab:snakeyaml, com.alipay.sofa.acts:acts-common-util and io.prometheus.jmx:jmx_prometheus_httpserver. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
be.cylab:snakeyaml Maven | All versions | None |
be.cylab:snakeyaml Maven | All versions | None |
com.alipay.sofa.acts:acts-common-util Maven | All versions | None |
com.alipay.sofa.acts:acts-common-util Maven | All versions | None |
io.prometheus.jmx:jmx_prometheus_httpserver Maven | All versions | None |
io.prometheus.jmx:jmx_prometheus_httpserver Maven | All versions | None |
8 more packages
io.prometheus.jmx:jmx_prometheus_httpserver_java6 Maven | All versions to 0.18.0 | None |
io.prometheus.jmx:jmx_prometheus_httpserver_java6 Maven | All versions to 0.18.0 | None |
org.testifyproject.external:external-snakeyaml Maven | All versions to 1.0.6 | None |
org.testifyproject.external:external-snakeyaml Maven | All versions to 1.0.6 | None |
org.yaml:snakeyaml Maven | All versions | 1.31 |
org.yaml:snakeyaml Maven | All versions | 1.31 |
pl.droidsonroids.yaml:snakeyaml Maven | All versions to 1.18.2 | None |
pl.droidsonroids.yaml:snakeyaml Maven | All versions to 1.18.2 | None |
Products include Debian Debian Linux, Snakeyaml Project Snakeyaml.
How do I fix CVE-2022-38749?
Upgrade to a fixed version.
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-38749 being exploited?
There is no known exploitation of CVE-2022-38749 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-QF71813, CLEANSTART-2026-UF90267, DEBIAN-CVE-2022-38749, ECHO-3620-0b6f-402f, GHSA-c4r9-r8fh-9vj2, MINI-q4v9-c9xf-vm9g and 1 more.