CVE-2022-38750
published 2022-09-05CVE-2022-38750: Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an…
PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.03%
59.8th percentile
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
Affected
14 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 | snakeyaml | >= 0 < 1.28-1+deb11u1 | 1.28-1+deb11u1 |
| snakeyaml | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml | snakeyaml | >= 0 < 1.31-1 | 1.31-1 |
| snakeyaml | snakeyaml | >= unspecified < 1.31 | 1.31 |
| snakeyaml_project | snakeyaml | < 1.31 | 1.31 |
| 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.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
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)
OSV
snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
osv·2022-09-06
CVE-2022-38750 [MEDIUM] snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
GHSA
snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
ghsa·2022-09-06
CVE-2022-38750 [MEDIUM] CWE-121 snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
snakeYAML before 1.31 vulnerable to Denial of Service due to Out-of-bounds Write
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
OSV
CVE-2022-38750: Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
osv·2022-09-05·CVSS 5.5
CVE-2022-38750 [MEDIUM] CVE-2022-38750: Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS)
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
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
Microsoft
DoS in SnakeYAML
vendor_msrc·2022-09-13·CVSS 6.5
CVE-2022-38750 [MEDIUM] CWE-121 DoS in SnakeYAML
DoS in SnakeYAML
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
Google: Google
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-linu
Red Hat
snakeyaml: Uncaught exception in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject
vendor_redhat·2022-09-05·CVSS 6.5
CVE-2022-38750 [MEDIUM] CWE-787 snakeyaml: Uncaught exception in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject
snakeyaml: Uncaught exception in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
A flaw was found in the snakeyaml package due to a stack-overflow in parsing YAML files. By persuading a victim to open a specially-crafted file, a remote attacker could cause the application to crash.
Statement: Red Hat Build of Quarkus is not affected by this issue as it already includes the fixed version.
Satellite component Candlepin does not directly use snakeyaml, so it is not affected. Regardless, an update with the latest, unaffected snakeyaml version will be
Debian
CVE-2022-38750: snakeyaml - Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Ser...
vendor_debian·2022·CVSS 6.5
CVE-2022-38750 [MEDIUM] CVE-2022-38750: snakeyaml - Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Ser...
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
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.
No writeups or analysis indexed.
https://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027https://lists.debian.org/debian-lts-announce/2022/10/msg00001.htmlhttps://security.gentoo.org/glsa/202305-28https://security.netapp.com/advisory/ntap-20240315-0010/https://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027https://lists.debian.org/debian-lts-announce/2022/10/msg00001.htmlhttps://security.gentoo.org/glsa/202305-28https://security.netapp.com/advisory/ntap-20240315-0010/
2022-09-05
Published