High severity · published Sep 6, 2024
CVE-2024-34158
Stack exhaustion in Parse in go/build/constraint
7.5
CVSS
1%
EPSS
No
On KEV
Description
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
go/build/constraint · Go standard library
before 1.22.7; 1.23.0-0 before 1.23.1 · source: vendor
GS
GO Standard Library · GO Build Constraint
before 1.22.7; 1.23.0-0 before 1.23.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-34158
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-34158
go.dev
https://go.dev/cl/611240
go.dev
https://go.dev/issue/69141
groups.google.com
https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
pkg.go.dev
https://pkg.go.dev/vuln/GO-2024-3107
security.netapp.com
https://security.netapp.com/advisory/ntap-20241004-0003/
