GitHub Advisory Database
GHSA-hp87-p4gw-j4gq
gopkg.in/yaml.v3 Denial of Service
Details
An issue in the Unmarshal function in Go-Yaml v3 can cause a program to panic when attempting to deserialize invalid input.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | gopkg.in/yaml.v3 | All versions before 3.0.1 (fixed in 3.0.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-28948
- https://github.com/go-yaml/yaml/issues/665
- https://github.com/go-yaml/yaml/issues/666
- https://github.com/go-yaml/yaml/commit/8f96da9f5d5eff988554c1aae1784627c4bf6754
- https://github.com/go-yaml/yaml/commit/f6f7691b1fdeb513f56608cd2c32c51f8194bf51
- https://github.com/go-yaml/yaml
- https://security.netapp.com/advisory/ntap-20220923-0006