CVE-2024-34155
MEDIUM4.3EPSS 0.08%Stack exhaustion in all Parse functions in go/parser
Published: 9/6/2024Modified: 4/28/2026
Description
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
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 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-34155
- PATCHhttps://go.dev/cl/611238
- REPORThttps://go.dev/issue/69138
- WEBhttps://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-34155
- WEBhttps://pkg.go.dev/vuln/GO-2024-3105
- WEBhttps://security.netapp.com/advisory/ntap-20240926-0005/