Vulnerability · Published Aug 30, 2022 · Assigned by snyk
CVE-2022-25857Denial of Service (DoS)
High 7.5
In plain English
A high-severity security flaw in org.yaml:snakeyaml. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.9%top 12.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | prometheus-jmx-exporter | 0.12.0-8.el8_6 | ALSA-2022:6820 |
| AlmaLinux:8 | prometheus-jmx-exporter-openjdk11 | 0.12.0-8.el8_6 | ALSA-2022:6820 |
| Debian:12 | snakeyaml | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Debian:13 | snakeyaml | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Debian:14 | snakeyaml | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Maven | org.yaml:snakeyaml | 1.31 | GHSA-3mc7-4q67-w48m |
| Rocky Linux:8 | prometheus-jmx-exporter | 0:0.12.0-8.el8_6 | RLSA-2022:6820 |
| Rocky Linux:8 | prometheus-jmx-exporter | 0:0.12.0-8.el8 | RLSA-2022:6820 |
| Ubuntu:22.04:LTS | snakeyaml | 1.29-1ubuntu0.22.04.1 | USN-5944-1 |
| Ubuntu:22.04:LTS | snakeyaml | 1.29-1ubuntu0.22.04.1 | UBUNTU-CVE-2022-25857 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | org.yaml:snakeyaml | 0 – before unspecifiedunspecified – before 1.31 |
References
- https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360
- https://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174
- https://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174
- https://bitbucket.org/snakeyaml/snakeyaml/issues/525
- [debian-lts-announce] 20221002 [SECURITY] [DLA 3132-1] snakeyaml security update mailing-list
- https://security.netapp.com/advisory/ntap-20240315-0010/