Vulnerability · Published Sep 5, 2022 · Assigned by Google

CVE-2022-38751DoS in SnakeYAML

Medium 6.5

In plain English

A medium-severity stack buffer overflow in SnakeYAML from snakeyaml. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.0%top 18.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
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 stackoverflow.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12snakeyaml1.31-1DEBIAN-CVE-2022-38751
Debian:13snakeyaml1.31-1DEBIAN-CVE-2022-38751
Debian:14snakeyaml1.31-1DEBIAN-CVE-2022-38751
Mavenorg.yaml:snakeyaml1.31GHSA-98wm-3w3q-mw94
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1USN-5944-1
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1UBUNTU-CVE-2022-38751

Affected products (as reported)

VendorProductVersions
snakeyaml SnakeYAML unspecified – before 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