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