7.5Hoch

CVE-2023-24537Infinite loop in parsing in go/scanner

Go standard library go/scanner Veröffentlicht: (vor 3 Jahren)

Beschreibung

Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.

Schwachstellentyp (CWE): CWE-835CWE-190

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

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library go/scanner < 1.19.8, 1.20.0-0 – < 1.20.3

Referenzen und Patches