5.3Mittel

CVE-2023-45284Incorrect detection of reserved device names on Windows in path/filepath

Go standard library path/filepath; golang go Veröffentlicht: (vor 3 Jahren)

Beschreibung

On Windows, The IsLocal function does not correctly detect reserved device names in some cases. Reserved names followed by spaces, such as "COM1 ", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3, are incorrectly reported as local. With fix, IsLocal now correctly reports these names as non-local.

Schwachstellentyp (CWE): CWE-41

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

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library path/filepath < 1.20.11, 1.21.0-0 – < 1.21.4
golang go < 1.20.11, 1.21.0-0 – < 1.21.4

Referenzen und Patches