Medium severity · published Sep 6, 2024
CVE-2024-34155
Stack exhaustion in all Parse functions in go/parser
4.3
CVSS
0.8%
EPSS
No
On KEV
Description
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
go/parser · Go standard library
before 1.22.7; 1.23.0-0 before 1.23.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-34155
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-34155
go.dev
https://go.dev/cl/611238
go.dev
https://go.dev/issue/69138
groups.google.com
https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
pkg.go.dev
https://pkg.go.dev/vuln/GO-2024-3105
security.netapp.com
https://security.netapp.com/advisory/ntap-20240926-0005/
More from go/parser
5.5
CVE-2022-1962
Stack exhaustion due to deeply nested types in go/parser
