CVE-2021-4235

Denial of service in gopkg.in/yaml.v2

State
Published
Severity
5.5 Medium
Published
Dec 27, 2022
Updated
Apr 11, 2025
Reserved
Jul 29, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
gopkg.in/yaml.v2gopkg.in/yaml.v2
  • before 2.2.3Affected
github.com/go-yaml/yamlgithub.com/go-yaml/yaml

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.