CVE-2022-25857Denial of Service (DoS)
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | snakeyaml | Fixed | 1.29-1ubuntu0.22.04.1 | UBUNTU-CVE-2022-25857 |
| Ubuntu 20.04 | snakeyaml | Fixed | 1.25+ds-2ubuntu0.1 | UBUNTU-CVE-2022-25857 |
| Ubuntu 18.04 | snakeyaml | Fixed | 1.23-1+deb10u1build0.18.04.1 | UBUNTU-CVE-2022-25857 |
| Ubuntu 16.04 | snakeyaml | Fix pending | 1.12-2ubuntu0.16.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-25857 |
| Ubuntu 14.04 | snakeyaml | Fix pending | 1.12-2ubuntu0.14.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-25857 |
| Debian 14 | snakeyaml | Fixed | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Debian 13 | snakeyaml | Fixed | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Debian 12 | snakeyaml | Fixed | 1.31-1 | DEBIAN-CVE-2022-25857 |
| Red Hat Enterprise Linux 8 | prometheus-jmx-exporter | Fixed | 0:0.12.0-8.el8_6 | RHSA-2022:6820 |
| Red Hat Enterprise Linux 8 | prometheus-jmx-exporter-openjdk11 | Fixed | 0:0.12.0-8.el8_6 | RHSA-2022:6820 |
| Red Hat Enterprise Linux 8 | prometheus-jmx-exporter-openjdk17 | Fixed | 0:0.12.0-8.el8_6 | RHSA-2022:6820 |
| Red Hat Enterprise Linux 8 | prometheus-jmx-exporter-openjdk8 | Fixed | 0:0.12.0-8.el8_6 | RHSA-2022:6820 |
| Red Hat Enterprise Linux 7 | snakeyaml | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | snakeyaml-javadoc | Will not fix Out of support scope | ||
| AlmaLinux 8 | prometheus-jmx-exporter | Fixed | 0.12.0-8.el8_6 | ALSA-2022:6820 |
| AlmaLinux 8 | prometheus-jmx-exporter-openjdk11 | Fixed | 0.12.0-8.el8_6 | ALSA-2022:6820 |
| Rocky Linux 8 | prometheus-jmx-exporter | Fixed | 0:0.12.0-8.el8 | RLSA-2022:6820 |
| Maven library | org.yaml:snakeyaml | Fixed | 1.31 | GHSA-3mc7-4q67-w48m |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- org.yaml:snakeyaml: affected: before unspecified, unspecified to before 1.31; fixed in
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
- https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html
- https://security.netapp.com/advisory/ntap-20240315-0010/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.