CVE-2022-38749Snakeyaml Project Snakeyaml
Medium 6.5
Follow: this CVE · Snakeyaml Project · Snakeyaml Project Snakeyaml We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Sep 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Snakeyaml.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | be.cylab:snakeyaml |
1.25.1 |
no fixed version | — |
| Maven | com.alipay.sofa.acts:acts-common-util |
1.0.0 |
no fixed version | — |
| Maven | io.prometheus.jmx:jmx_prometheus_httpserver |
0.17.0 |
no fixed version | — |
| Maven | io.prometheus.jmx:jmx_prometheus_httpserver_java6 |
≤ 0.18.0 |
no fixed version | — |
| Maven | org.testifyproject.external:external-snakeyaml |
≤ 1.0.6 |
no fixed version | — |
| Maven | org.yaml:snakeyaml |
< 1.31 |
1.31 |
— |
| Maven | pl.droidsonroids.yaml:snakeyaml |
≤ 1.18.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-c4r9-r8fh-9vj2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| snakeyaml_project | snakeyaml | < 1.31 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- bitbucket.org Third Party Advisory
- bugs.chromium.org Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org
- security.netapp.com