Red Hat VEX
RHVEX-CVE-2022-3064
go-yaml: Improve heuristics preventing CPU/memory abuse by parsing malicious or large YAML documents
Details
A flaw was found in go-yaml. This issue causes the consumption of excessive amounts of CPU or memory when attempting to parse a large or maliciously crafted YAML document.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | rhc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | skopeo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | toolbox | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | toolbox-tests | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | butane | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2022-3064
- https://bugzilla.redhat.com/show_bug.cgi?id=2163037
- https://www.cve.org/CVERecord?id=CVE-2022-3064
- https://nvd.nist.gov/vuln/detail/CVE-2022-3064
- https://github.com/advisories/GHSA-6q6q-88xp-6f2r
- https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5
- https://github.com/go-yaml/yaml/releases/tag/v2.2.4
- https://pkg.go.dev/vuln/GO-2022-0956