snakeYAML 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | be.cylab:snakeyaml | = 1.25.1 | no fix |
| Java / Kotlin (Maven) | com.alipay.sofa.acts:acts-common-util | = 1.0.0 | no fix |
| Java / Kotlin (Maven) | io.prometheus.jmx:jmx_prometheus_httpserver | = 0.17.0 | no fix |
| Java / Kotlin (Maven) | io.prometheus.jmx:jmx_prometheus_httpserver_java6 | <= 0.18.0 | no fix |
| Java / Kotlin (Maven) | org.testifyproject.external:external-snakeyaml | <= 1.0.6 | no fix |
| Java / Kotlin (Maven) | org.yaml:snakeyaml | < 1.31 | 1.31 |
| Java / Kotlin (Maven) | pl.droidsonroids.yaml:snakeyaml | <= 1.18.2 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38749
- https://arxiv.org/pdf/2306.05534.pdf
- https://bitbucket.org/snakeyaml/snakeyaml
- https://bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html
- https://security.gentoo.org/glsa/202305-28
- https://security.netapp.com/advisory/ntap-20240315-0010
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-121, CWE-787- Platform
- Java / Kotlin (Maven)
- Package
be.cylab:snakeyaml, com.alipay.sofa.acts:acts-common-util, io.prometheus.jmx:jmx_prometheus_httpserver- Disclosed
- 06.09.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-c4r9-r8fh-9vj2 - CC BY 4.0
Vulnerability history: com.alipay.sofa.acts:acts-common-util
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.