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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | gopkg.in/yaml.v2 | All versions before 2.2.3 (fixed in 2.2.3) |
| Go | github.com/go-yaml/yaml | All versions, no fix listed |