7.5Hoch

CVE-2024-34158Stack exhaustion in Parse in go/build/constraint

Go standard library go/build/constraint; go_build_constraint go_standard_library Veröffentlicht: (vor 2 Jahren)

Beschreibung

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

Schwachstellentyp (CWE): CWE-674

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
go_build_constraint go_standard_library < 1.22.7, 1.23.0-0 – < 1.23.1
Go standard library go/build/constraint < 1.22.7, 1.23.0-0 – < 1.23.1

Referenzen und Patches