CVE-2024-34156
HIGH7.5EPSS 0.31%Stack exhaustion in Decoder.Decode in encoding/gob
Published: 9/6/2024Modified: 4/28/2026
Description
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.22.7, >= 1.23.0-0, < 1.23.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.22.7, >= 1.23.0-0, < 1.23.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-34156
- PATCHhttps://go.dev/cl/611239
- REPORThttps://go.dev/issue/69139
- WEBhttps://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-34156
- WEBhttps://pkg.go.dev/vuln/GO-2024-3106
- WEBhttps://security.netapp.com/advisory/ntap-20240926-0004/