ADVISORIES

Go Vulnerability Database

GO-2021-0061

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.

Affected packages

EcosystemPackageAffected versions
Gogopkg.in/yaml.v2
All versions before 2.2.3 (fixed in 2.2.3)
Gogithub.com/go-yaml/yaml
All versions, no fix listed

References