Vulnerability · Published Sep 5, 2022 · Assigned by Google

CVE-2022-38752DoS in SnakeYAML

Medium 6.5

In plain English

A medium-severity stack buffer overflow in SnakeYAML from snakeyaml. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.7%top 14.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 stack-overflow.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12snakeyaml1.33-1DEBIAN-CVE-2022-38752
Debian:13snakeyaml1.33-1DEBIAN-CVE-2022-38752
Debian:14snakeyaml1.33-1DEBIAN-CVE-2022-38752
Mavenorg.yaml:snakeyaml1.32GHSA-9w3m-gqgf-c4p9

Affected products (as reported)

VendorProductVersions
snakeyaml SnakeYAML unspecified – through 1.31

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References