CVE-2022-25857 json
Denial of Service (DoS)
published 2022-08-30 4 y ago modified 2026-09-10 1 mo ago also GHSA-3mc7-4q67-w48m , EUVD-2022-6470
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.yaml:snakeyaml 1.31
- n/a org.yaml:snakeyaml 1.31
- snakeyaml Debian 14, Debian 13, Debian 12 1.31-1
debian advisories DEBIAN-CVE-2022-25857
- snakeyaml Ubuntu 18.04 LTS 1.23-1+deb10u1build0.18.04.1
- snakeyaml Ubuntu 20.04 LTS 1.25+ds-2ubuntu0.1
- snakeyaml Ubuntu 22.04 LTS 1.29-1ubuntu0.22.04.1
- snakeyaml Ubuntu Pro 14.04 LTS 1.12-2ubuntu0.14.04.1~esm1
- snakeyaml Ubuntu Pro 16.04 LTS 1.12-2ubuntu0.16.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-25857
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jenkins openshift 4.9 2.361.1.1675668150-1.el8
- jenkins-2-plugins openshift 4.9 4.9.1675668922-1.el8
- jenkins ocp tools 4.13 2.414.3.1698292201-3.el8
- jenkins-2-plugins ocp tools 4.13 4.13.1698292274-1.el8
- jenkins ocp tools 4.14 2.426.3.1706516352-3.el8
- jenkins-2-plugins ocp tools 4.14 4.14.1706516441-1.el8
- jenkins ocp tools 4.12 2.414.3.1698293911-3.el8
- jenkins-2-plugins ocp tools 4.12 4.12.1698294000-1.el8
red hat advisories RHSA-2023:0777RHSA-2023:6179RHSA-2025:4437RHSA-2025:4226RHSA-2024:0777RHSA-2023:6172
- snakeyaml Manager Server Module 4.1 1.31-150200.12.6.1
- snakeyaml SLE Module for Development Tools 15 SP4, SLE Module for Development Tools 15 SP3, openSUSE Leap 15.4 +3 more 1.31-150200.3.8.1
suse advisories SUSE-SU-2022:3560-1SUSE-SU-2022:3397-1
- prometheus-jmx-exporter AlmaLinux 8 0.12.0-8.el8_6
- prometheus-jmx-exporter-openjdk11 AlmaLinux 8 0.12.0-8.el8_6
almalinux advisories ALSA-2022:6820
- prometheus-jmx-exporter Rocky Linux 8 0.12.0-8.el8
- prometheus-jmx-exporter Rocky Linux 8 0.12.0-8.el8_6
rocky linux advisories RLSA-2022:6820
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-25857 updated cvss 7.5
snakeyaml: Denial of Service due to missing nested depth limitation for collections
-
Red Hat A-MQ Clients 2 snakeyamlaffected: no fix available
-
Red Hat Enterprise Linux 7 snakeyaml, snakeyaml-javadocaffected: no fix planned “Out of support scope”
-
Red Hat Integration Camel K 1 snakeyaml Red Hat Integration Camel Quarkus 1 snakeyamlaffected: no fix available
-
Red Hat Integration Service Registry snakeyaml Red Hat JBoss Data Grid 7 snakeyaml Red Hat JBoss Data Virtualization 6 snakeyaml Red Hat JBoss Enterprise Application Platform 6 snakeyaml, eap6-snakeyaml eap6-snakeyaml Red Hat JBoss Fuse 6 snakeyaml Red Hat JBoss Fuse Service Works 6 snakeyamlaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Application Runtimes snakeyamlaffected: no fix available
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins, openshift3/ose-metrics-cassandra, openshift3/ose-metrics-hawkular-metricsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/idea-rhel8 Red Hat Satellite 6 puppetserver Red Hat support for Spring Boot snakeyaml Red Hat streams for Apache Kafka snakeyamlaffected: no fix available
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-20fixed: vendor fix RHSA-2023:1047
show 23 moreshow fewer
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins 4.11.1683009941-1.el8fixed: vendor fix RHSA-2023:3198
-
Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1698294000-1.el8, jenkins-2-plugins 4.12.1706515741-1.el8fixed: vendor fix RHSA-2023:6172
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1698292274-1.el8, jenkins-2-plugins 4.13.1706516346-1.el8fixed: vendor fix RHSA-2023:6179
-
Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins-2-plugins 4.14.1699356715-1.el8, jenkins-2-plugins 4.14.1706516441-1.el8fixed: vendor fix RHSA-2023:7288
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2022:8876
-
Red Hat AMQ Clientsfixed: vendor fix RHSA-2023:7697
-
Red Hat build of Eclipse Vert.x 4.3.3fixed: vendor fix RHSA-2022:6757
-
Red Hat build of Quarkus Platform 2.7.6.SP1fixed: vendor fix RHSA-2022:6941
-
Red Hat Data Grid 8.4.0fixed: vendor fix RHSA-2022:8524
-
Red Hat Enterprise Linux AppStream (v. 8) prometheus-jmx-exporter 0.12.0-8.el8_6, prometheus-jmx-exporter-openjdk8 0.12.0-8.el8_6, prometheus-jmx-exporter-openjdk11 0.12.0-8.el8_6, prometheus-jmx-exporter-openjdk17 0.12.0-8.el8_6fixed: vendor fix RHSA-2022:6820
-
Red Hat Fuse 7.11.1fixed: vendor fix RHSA-2022:8652
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-snakeyaml 1.31.0-1.redhat_00001.1.el7eapfixed: vendor fix RHSA-2022:6821
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-snakeyaml 1.31.0-1.redhat_00001.1.el8eapfixed: vendor fix RHSA-2022:6822
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-snakeyaml 1.31.0-1.redhat_00001.1.el9eapfixed: vendor fix RHSA-2022:6823
-
Red Hat JBoss Enterprise Application Platform snakeyaml 1.31.0.redhat-00001fixed: vendor fix RHSA-2022:6825
-
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-jsoup 1.14.2-1.redhat_00002.1.ep7.el7, eap7-wildfly 7.1.10-2.GA_redhat_00002.1.ep7.el7, eap7-woodstox-core 5.0.3-2.redhat_00002.1.ep7.el7, eap7-xml-security 2.0.10-2.redhat_00002.1.ep7.el7, eap7-undertow 1.4.18-14.SP13_redhat_00001.1.ep7.el7, eap7-artemis-native 1.5.5.016-1.redhat_00001.1.ep7.el7, +19 morefixed: vendor fix RHSA-2025:4226
-
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-gson 2.8.9-1.redhat_00001.1.el7eap, eap7-wildfly 7.3.13-4.GA_redhat_00002.1.el7eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap, eap7-activemq-artemis 2.9.0-10.redhat_00021.1.el7eap, eap7-hal-console 3.2.18-1.Final_redhat_00001.1.el7eap, eap7-wildfly-modules 7.3.13-4.GA_redhat_00002.1.el7eap, +41 morefixed: vendor fix RHSA-2025:4437
-
Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1675668922-1.el8fixed: vendor fix RHSA-2023:0777
-
Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1675144701-1.el8fixed: vendor fix RHSA-2023:0560
-
Red Hat Satellite 6.13 for RHEL 8 candlepin 4.2.13-1.el8sat, candlepin-selinux 4.2.13-1.el8satfixed: vendor fix RHSA-2023:2097
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2023:1049
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:1043
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:1044
5 more fixed, 15 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.93% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360 referenced PoC, tagged "exploit" by a source, unverified
- bitbucket.org https://bitbucket.org/snakeyaml/snakeyaml/issues/525 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.yaml:snakeyaml | <1.31 |
1.31 |
Affected products
- n/a org.yaml:snakeyaml
Classification
References
-
bitbucket.org
/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174
web, patch, third-party-advisory
-
github.com
/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGYAML-2806360
web, exploit, patch, third-party-advisory
-
bitbucket.org
/snakeyaml/snakeyaml/issues/525
web, exploit, issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/10/msg00001.html
mailing-list, web, third-party-advisory
- security.netapp.com /advisory/ntap-20240315-0010/
-
nvd.nist.gov
/vuln/detail/CVE-2022-25857
advisory
-
github.com
/snakeyaml/snakeyaml
package
-
security.netapp.com
/advisory/ntap-20240315-0010
web
Sources
- CVE List CVE-2022-25857
- GitHub Advisory GHSA-3mc7-4q67-w48m
- NVD CVE-2022-25857
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.