CVE-2021-4235

Denial of service in gopkg.in/yaml.v2

MEDIUM
5.5
CVSS Score
Published: December 27, 2022 at 09:13 PM UTC
Updated: June 17, 2026 at 04:19 AM UTC
3 products affected across 3 vendorsYamlProject YamlYaml

Using gopkg.in/yaml.v2 by gopkg.in/yaml.v2?

Get instant alerts when new vulnerabilities affect gopkg.in/yaml.v2 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.2.3
Affected range stops below 2.2.3, so it looks safe — our inference, not a vendor statement
v < 2.2.3
Affected range stops below 2.2.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card