CVE-2024-34158
Stack exhaustion in Parse in go/build/constraint
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Attend
*SSVC
Descriptions
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
A flaw was found in the go/build/constraint package of the Golang standard library. Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Attend
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2024-05-01 CVE Reserved
- 2024-09-06 CVE Published
- 2024-09-07 EPSS Updated
- 2024-10-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-674: Uncontrolled Recursion
- CWE-1325: Improperly Controlled Sequential Memory Allocation
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
https://go.dev/cl/611240 | ||
https://go.dev/issue/69141 | ||
https://groups.google.com/g/golang-dev/c/S9POB9NCTdk | ||
https://pkg.go.dev/vuln/GO-2024-3107 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2024-34158 | 2024-11-19 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2310529 | 2024-11-19 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Go Standard Library Search vendor "Go Standard Library" | Go/build/constraint Search vendor "Go Standard Library" for product "Go/build/constraint" | < 1.22.7 Search vendor "Go Standard Library" for product "Go/build/constraint" and version " < 1.22.7" | en |
Affected
| ||||||
Go Standard Library Search vendor "Go Standard Library" | Go/build/constraint Search vendor "Go Standard Library" for product "Go/build/constraint" | >= 1.23.0-0 < 1.23.1 Search vendor "Go Standard Library" for product "Go/build/constraint" and version " >= 1.23.0-0 < 1.23.1" | en |
Affected
|