Vulnerability · Published Sep 5, 2022 · Assigned by Google

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

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.2%top 17.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
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-38749
Debian:13snakeyaml1.31-1DEBIAN-CVE-2022-38749
Debian:14snakeyaml1.31-1DEBIAN-CVE-2022-38749
Mavenbe.cylab:snakeyamlno fix listedGHSA-c4r9-r8fh-9vj2
Mavencom.alipay.sofa.acts:acts-common-utilno fix listedGHSA-c4r9-r8fh-9vj2
Mavenio.prometheus.jmx:jmx_prometheus_httpserverno fix listedGHSA-c4r9-r8fh-9vj2
Mavenio.prometheus.jmx:jmx_prometheus_httpserver_java6no fix listedGHSA-c4r9-r8fh-9vj2
Mavenorg.testifyproject.external:external-snakeyamlno fix listedGHSA-c4r9-r8fh-9vj2
Mavenorg.yaml:snakeyaml1.31GHSA-c4r9-r8fh-9vj2
Mavenpl.droidsonroids.yaml:snakeyamlno fix listedGHSA-c4r9-r8fh-9vj2
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1UBUNTU-CVE-2022-38749
Ubuntu:22.04:LTSsnakeyaml1.29-1ubuntu0.22.04.1USN-5944-1

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