GitHub Advisory Database
GHSA-r88r-gmrh-7j83
YAML Go package vulnerable to denial of service
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 up to and including 2.1.0 |