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


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.07% (30th percentile)
Expand this section
NVD
5.5 medium
Expand this section
SUSE
7.5 high
Expand this section
Red Hat
5.5 medium

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 ID SNYK-JAVA-ORGYAML-3016889
  • published 5 Sep 2022
  • disclosed 5 Sep 2022
  • credit Dae

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 in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject when parsing crafted untrusted YAML files, which can lead to a denial-of-service.