Denial of Service (DoS) Affecting github.com/go-yaml/yaml package, versions *


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (42nd 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 Learn

Learn about Denial of Service (DoS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOYAMLYAML-6861567
  • published17 May 2024
  • disclosed14 Apr 2021
  • creditUnknown

Introduced: 14 Apr 2021

CVE-2021-4235  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

github.com/go-yaml/yaml is a YAML support package for the Go language.

Affected versions of this package are vulnerable to Denial of Service (DoS) due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

CVSS Scores

version 3.1