CVE-2024-34158
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go standard library | go/build/constraint | 0 < 1.22.7 | affected |
| Go standard library | go/build/constraint | 1.23.0-0 < 1.23.1 | affected |
Weaknesses
- CWE-674: Uncontrolled Recursion
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
CVE Program Container
Additional References
References
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.