Stack-based Buffer Overflow Affecting org.yaml:snakeyaml package, versions [,1.31)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.35% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGYAML-3016891
  • published5 Sept 2022
  • disclosed5 Sept 2022
  • creditDae

Introduced: 5 Sep 2022

CVE-2022-38751  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade org.yaml:snakeyaml to version 1.31 or higher.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.

CVSS Scores

version 3.1