GO-2021-0061
Dashboard / Vulnerabilities / GO-2021-0061
GO-2021-0061
Published: 14 Apr 2021Last Modified: 4 Feb 2026
Aliases:
Summary: Denial of service in gopkg.in/yaml.v2
Details: 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.
References: https://github.com/go-yaml/yaml/pull/375, https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Affected packages
Package
Name: gopkg.in/yaml.v2
Purl: pkg:golang/gopkg.in/yaml.v2
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -2.2.3
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
