GO-2024-3107
Dashboard / Vulnerabilities / GO-2024-3107
GO-2024-3107
Published: 6 Sept 2024Last Modified: 5 Aug 2026
Summary: Stack exhaustion in Parse in go/build/constraint
Details: Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
References: https://go.dev/cl/611240, https://go.dev/issue/69141, https://groups.google.com/g/golang-dev/c/S9POB9NCTdk
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.22.7
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
