CVE-2022-25857
HIGH 7.5CVSS 3.1Uncontrolled Resource Consumption in snakeyaml
The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.
- Published
- 30 Aug 2022
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-400CWE-776
- Also known as
- GHSA-3mc7-4q67-w48m
- Sources
- NVDJSONOSV GHSA-3mc7-4q67-w48mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/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 |
References
- https://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174 · Patch, Third Party Advisory, WEB
- https://bitbucket.org/snakeyaml/snakeyaml/issues/525 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240315-0010/ · WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25857 · ADVISORY
- https://github.com/snakeyaml/snakeyaml · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Aug 2022)