CVE-2024-34155
4.3medium
Stack exhaustion in all Parse functions in go/parser
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.83% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2024-3105BIT-GOLANG-2024-34155
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
| Product or package | Versions | Reported by |
|---|---|---|
| go/parser | before 1.22.7, from 1.23.0-0 before 1.23.1 | CVE List |
| stdlib (Go) | before 1.22.7, from 1.23.0-0 before 1.23.1 | Go Vulnerability Database |
| golang (Bitnami) | before 1.22.7, from 1.23.0-0 before 1.23.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
NVD (es)
Llamar a cualquiera de las funciones Parse en el código fuente de Go que contiene literales profundamente anidados puede provocar pánico debido al agotamiento de la pila.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-34155 changed 2024-11-04 | CVE Terms of Use |
| Go Vulnerability Database | GO-2024-3105 changed 2026-02-24 | CC-BY-4.0 |
| NVD | CVE-2024-34155 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2024-34155 changed 2025-05-20 | Apache-2.0 |