CVE-2022-38749
MEDIUM 6.5CVSS 3.1snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
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.
- Published
- 5 Sep 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-121CWE-787
- Also known as
- GHSA-c4r9-r8fh-9vj2
- Sources
- NVDJSONOSV GHSA-c4r9-r8fh-9vj2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | snakeyaml_project | snakeyamlcpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:* |
< 1.31 | 1.31 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | Maven | org.yaml:snakeyaml | < 1.31 | 1.31 |
| OSV | Maven | be.cylab:snakeyaml | = 1.25.1 | |
| OSV | Maven | com.alipay.sofa.acts:acts-common-util | = 1.0.0 | |
| OSV | Maven | io.prometheus.jmx:jmx_prometheus_httpserver | = 0.17.0 | |
| OSV | Maven | io.prometheus.jmx:jmx_prometheus_httpserver_java6 | <= 0.18.0 | |
| OSV | Maven | org.testifyproject.external:external-snakeyaml | <= 1.0.6 | |
| OSV | Maven | pl.droidsonroids.yaml:snakeyaml | <= 1.18.2 |
References
- https://bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open · Third Party Advisory, WEB
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html · Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202305-28 · WEB
- https://security.netapp.com/advisory/ntap-20240315-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-38749 · ADVISORY
- https://arxiv.org/pdf/2306.05534.pdf · WEB
- https://bitbucket.org/snakeyaml/snakeyaml · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Sep 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Sep 2022)