GO-2023-2186
Incorrect detection of reserved device names on Windows in path/filepath
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2023-45284
- Alias
- BIT-golang-2023-45284
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.20.11, introduced 1.21.0-0, fixed 1.21.4 |
Références
- https://go.dev/issue/63713 REPORT
- https://go.dev/cl/540277 FIX
- https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |