CVE-2022-25857
published 2022-08-30CVE-2022-25857: 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.
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.19%
80.5th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | snakeyaml | < snakeyaml 1.31-1 (bookworm) | snakeyaml 1.31-1 (bookworm) |
| msrc | cbl2_snakeyaml_on_cbl_mariner_2.0 | — | — |
| snakeyaml_project | snakeyaml | < 1.31 | 1.31 |
| snakeyaml_project | snakeyaml | >= 0 < 1.28-1+deb11u1 | 1.28-1+deb11u1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.23-1+deb10u1build0.18.04.1 | 1.23-1+deb10u1build0.18.04.1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.25+ds-2ubuntu0.1 | 1.25+ds-2ubuntu0.1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.29-1ubuntu0.22.04.1 | 1.29-1ubuntu0.22.04.1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.12-2ubuntu0.14.04.1~esm1 | 1.12-2ubuntu0.14.04.1~esm1 |
| snakeyaml_project | snakeyaml | >= 0 < 1.12-2ubuntu0.16.04.1~esm1 | 1.12-2ubuntu0.16.04.1~esm1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
snakeyaml vulnerabilities
osv·2023-03-10·CVSS 7.5
CVE-2022-25857 [HIGH] snakeyaml vulnerabilities
snakeyaml vulnerabilities
It was discovered that SnakeYAML did not limit the maximal nested depth
for collections when parsing YAML data. If a user or automated system were
tricked into opening a specially crafted YAML file, an attacker could
possibly use this issue to cause applications using SnakeYAML to crash,
resulting in a denial of service. (CVE-2022-25857, CVE-2022-38749,
CVE-2022-38750)
It was discovered that SnakeYAML did not limit the maximal data matched
with regular expressions when parsing YAML data. If a user or automated
system were tricked into opening a specially crafted YAML file, an
attacker could possibly use this issue to cause applications using
SnakeYAML to crash, resulting in a denial of service. (CVE-2022-38751)
GHSA
Uncontrolled Resource Consumption in snakeyaml
ghsa·2022-08-31
CVE-2022-25857 [HIGH] CWE-400 Uncontrolled Resource Consumption in snakeyaml
Uncontrolled 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.
OSV
Uncontrolled Resource Consumption in snakeyaml
osv·2022-08-31
CVE-2022-25857 [HIGH] Uncontrolled Resource Consumption in snakeyaml
Uncontrolled 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.
OSV
CVE-2022-25857: The package org
osv·2022-08-30·CVSS 7.5
CVE-2022-25857 [HIGH] CVE-2022-25857: The package org
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.
Oracle
Oracle Oracle JD Edwards Risk Matrix: E1 IOT Orchestrator Security (jruby) — CVE-2022-25857
vendor_oracle·2023-04-15·CVSS 7.5
CVE-2022-25857 [HIGH] Oracle Oracle JD Edwards Risk Matrix: E1 IOT Orchestrator Security (jruby) — CVE-2022-25857
Oracle Oracle JD Edwards Risk Matrix: E1 IOT Orchestrator Security (jruby) vulnerability
CVE: CVE-2022-25857
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuapr2023 (APR 2023)
Ubuntu
SnakeYAML vulnerabilities
vendor_ubuntu·2023-03-10·CVSS 7.5
CVE-2022-38750 [HIGH] SnakeYAML vulnerabilities
Title: SnakeYAML vulnerabilities
Summary: Several security issues were fixed in SnakeYAML.
It was discovered that SnakeYAML did not limit the maximal nested depth
for collections when parsing YAML data. If a user or automated system were
tricked into opening a specially crafted YAML file, an attacker could
possibly use this issue to cause applications using SnakeYAML to crash,
resulting in a denial of service. (CVE-2022-25857, CVE-2022-38749,
CVE-2022-38750)
It was discovered that SnakeYAML did not limit the maximal data matched
with regular expressions when parsing YAML data. If a user or automated
system were tricked into opening a specially crafted YAML file, an
attacker could possibly use this issue to cause applications using
SnakeYAML to crash, resulting in a denial of service. (C
Oracle
Oracle Oracle Communications Applications Risk Matrix: REST Services Manager (SnakeYaml) — CVE-2022-25857
vendor_oracle·2023-01-15·CVSS 7.5
CVE-2022-25857 [HIGH] Oracle Oracle Communications Applications Risk Matrix: REST Services Manager (SnakeYaml) — CVE-2022-25857
Oracle Oracle Communications Applications Risk Matrix: REST Services Manager (SnakeYaml) vulnerability
CVE: CVE-2022-25857
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2023 (JAN 2023)
Oracle
Oracle Oracle Communications Applications Risk Matrix: REST Service Manager (SnakeYAML) — CVE-2022-25857
vendor_oracle·2022-10-15·CVSS 7.5
CVE-2022-25857 [HIGH] Oracle Oracle Communications Applications Risk Matrix: REST Service Manager (SnakeYAML) — CVE-2022-25857
Oracle Oracle Communications Applications Risk Matrix: REST Service Manager (SnakeYAML) vulnerability
CVE: CVE-2022-25857
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuoct2022 (OCT 2022)
Red Hat
snakeyaml: Denial of Service due to missing nested depth limitation for collections
vendor_redhat·2022-08-30·CVSS 7.5
CVE-2022-25857 [HIGH] CWE-400 snakeyaml: Denial of Service due to missing nested depth limitation for collections
snakeyaml: Denial of Service due to missing nested depth limitation for collections
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.
A flaw was found in the org.yaml.snakeyaml package. This flaw allows an attacker to cause a denial of service (DoS) due to missing nested depth limitation for collections.
Statement: For RHEL-8 it's downgraded to moderate because "snakeyaml" itself in RHEL 8 or RHEL-9 isn't shipped and "prometheus-jmx-exporter" is needed as build dependency. And it's not directly exploitable, hence severity marked as moderate.
Red Hat Integration and AMQ products are not vulnerable to this flaw, so their severity has been lowered to moderate.
Red Hat Single Sign-On uses s
Microsoft
Denial of Service (DoS)
vendor_msrc·2022-08-09·CVSS 7.5
CVE-2022-25857 [HIGH] CWE-776 Denial of Service (DoS)
Denial of Service (DoS)
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
snyk: snyk
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-l
Debian
CVE-2022-25857: snakeyaml - The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial o...
vendor_debian·2022·CVSS 7.5
CVE-2022-25857 [HIGH] CVE-2022-25857: snakeyaml - The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial o...
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.
Scope: local
bookworm: resolved (fixed in 1.31-1)
bullseye: resolved (fixed in 1.28-1+deb11u1)
forky: resolved (fixed in 1.31-1)
sid: resolved (fixed in 1.31-1)
trixie: resolved (fixed in 1.31-1)
No detection rules found.
No public exploits indexed.
https://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174https://bitbucket.org/snakeyaml/snakeyaml/issues/525https://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174https://lists.debian.org/debian-lts-announce/2022/10/msg00001.htmlhttps://security.netapp.com/advisory/ntap-20240315-0010/https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360https://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174https://bitbucket.org/snakeyaml/snakeyaml/issues/525https://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174https://lists.debian.org/debian-lts-announce/2022/10/msg00001.htmlhttps://security.netapp.com/advisory/ntap-20240315-0010/https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360
2022-08-30
Published