Red Hat VEX
RHVEX-CVE-2024-34156
encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion
Details
A flaw was found in the encoding/gob package of the Golang standard library. Calling Decoder.Decoding, a message that contains deeply nested structures, can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | skopeo | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | skopeo-tests | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-edge | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-grub | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-validate | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | opentelemetry-collector | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2024-34156
- https://bugzilla.redhat.com/show_bug.cgi?id=2310528
- https://www.cve.org/CVERecord?id=CVE-2024-34156
- https://nvd.nist.gov/vuln/detail/CVE-2024-34156
- https://go.dev/cl/611239
- https://go.dev/issue/69139
- https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- https://pkg.go.dev/vuln/GO-2024-3106