Resource Exhaustion Affecting golang-yaml.v2 package, versions <0.0+git20170407.0.cd8b52f-1ubuntu2+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.87% (80th 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-UBUNTU1804-GOLANGYAMLV2-3187850
  • published1 Jun 2025
  • disclosed27 Dec 2022

Introduced: 27 Dec 2022

CVE-2022-3064  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 golang-yaml.v2 to version 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-yaml.v2 package and not the golang-yaml.v2 package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

CVSS Base Scores

version 3.1