CVE-2021-4235: GO-2021-0061 - Denial of service in gopkg.in/yaml.v2

CVE-2021-4235 · Severity: low · CVSS 3.1 · Published 2021-04-14

Denial of service in gopkg.in/yaml.v2

Technologies: gopkg.in/yaml.v2 (Go). Vendors: Go.

Quick answers

Is CVE-2021-4235 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-4235 being exploited in the wild.
How severe is CVE-2021-4235?
Low severity, with a CVSS score of 3.1, published 14 April 2021.
Which products and versions are affected?
github.com/go-yaml/yaml (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.1.0; gopkg.in/yaml.v2 (Go) SEMVER:introduced=0,fixed=2.2.3.
Is there a fix for CVE-2021-4235?
Yes. gopkg.in/yaml.v2 (Go): upgrade to 2.2.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-4235?
Check whether you run github.com/go-yaml/yaml (Go) or gopkg.in/yaml.v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • gopkg.in/yaml.v2 (Go): upgrade to 2.2.3 or later
    go get gopkg.in/yaml.v2@v2.2.3

Affected products

  • github.com/go-yaml/yaml (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.1.0
  • gopkg.in/yaml.v2 (Go) SEMVER:introduced=0,fixed=2.2.3

Identifiers

  • CVE-2021-4235
  • GHSA-r88r-gmrh-7j83
  • GO-2021-0061

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.