CVE-2023-45284
MEDIUM5.3EPSS 0.03%Incorrect detection of reserved device names on Windows in path/filepath
Published: 11/8/2023Modified: 4/28/2026
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.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.20.11, >= 1.21.0-0, < 1.21.4
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.20.11, >= 1.21.0-0, < 1.21.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |