Vulnerability · Published Sep 5, 2022 · Assigned by Google

CVE-2022-38750DoS 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 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.3%top 30.1% 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-38750
Debian:13snakeyaml1.31-1DEBIAN-CVE-2022-38750
Debian:14snakeyaml1.31-1DEBIAN-CVE-2022-38750
Mavenorg.yaml:snakeyaml1.31GHSA-hhhw-99gj-p3c3
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1USN-5944-1
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1UBUNTU-CVE-2022-38750

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