What’s Vulnerable › Vulnerabilities
CVE-2024-34155: Stack exhaustion in all Parse functions in go/parser
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-06 · updated 2026-06-17
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 products
- Go: before 1.22.7; from 1.23.0-0 before 1.23.1 — fixed in 1.22.7, 1.23.1
How to fix
Upgrade to a fixed version: Go 1.22.7, 1.23.1. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/611238
- https://go.dev/issue/69138
- https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
- https://pkg.go.dev/vuln/GO-2024-3105
- https://security.netapp.com/advisory/ntap-20240926-0005/
Get alerted when CVE-2024-34155 or the next vulnerability affects your stack