Ubuntu CVE Tracker
UBUNTU-CVE-2022-28948
Details
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:20.04:LTS | snapd | All versions before 2.63+20.04ubuntu0.1 (fixed in 2.63+20.04ubuntu0.1) |
| Ubuntu:22.04:LTS | golang-gopkg-yaml.v3 | All versions, no fix listed |
| Ubuntu:22.04:LTS | snapd | All versions before 2.63+22.04ubuntu0.1 (fixed in 2.63+22.04ubuntu0.1) |
| Ubuntu:24.04:LTS | snapd | All versions before 2.62+24.04build1 (fixed in 2.62+24.04build1) |
References
- https://ubuntu.com/security/CVE-2022-28948
- https://github.com/go-yaml/yaml/issues/666
- https://github.com/go-yaml/yaml/issues/666#issuecomment-1133337993
- https://security.snyk.io/vuln/SNYK-GOLANG-GOPKGINYAMLV2-2840885
- https://github.com/advisories/GHSA-hp87-p4gw-j4gq
- https://www.cve.org/CVERecord?id=CVE-2022-28948