CVE-2024-34158 — Uncontrolled Recursion in Standard Library GO Build Constraint
Severity
7.5HIGHNVD
EPSS
0.2%
top 62.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 6
Latest updateNov 14
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:HExploitability: 3.9 | Impact: 3.6
Affected Packages14 packages
🔴Vulnerability Details
6GHSA▶
GHSA-j7vj-rw65-4v26: Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion↗2024-09-06
📋Vendor Advisories
6Red Hat▶
go/build/constraint: golang: Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion↗2024-09-06