Go Vulnerability Database
GO-2020-0036
Excessive resource consumption in YAML parsing in gopkg.in/yaml.v2
Details
Due to unbounded aliasing, a crafted YAML file can cause consumption of significant system resources. If parsing user supplied 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.8 (fixed in 2.2.8) |
| Go | github.com/go-yaml/yaml | All versions, no fix listed |