Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-34158

Stack exhaustion in Parse in go/build/constraint

Description

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library go/build/constraint

Default version status: unaffected

  • 0 to < 1.22.7affected
  • 1.23.0-0 to < 1.23.1affected

References