Incorrect detection of reserved device names on Windows in path/filepath
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | path/filepath | before 1.20.11; 1.21.0-0 to before 1.21.4 | 1.20.11, 1.21.4 | Patch available | CNA |
- path/filepath VendorGo standard library Affected before 1.20.11; 1.21.0-0 to before 1.21.4 Fixed in 1.20.11, 1.21.4 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | before 1.20.11; 1.21.0-0 to before 1.21.4 | Vulnerable | Go standard library |
| cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Microsoft |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions before 1.20.11; 1.21.0-0 to before 1.21.4 Vulnerable ·Go standard library
- cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft
Remediation
- Fix · CNA path/filepath (Go standard library) Fixed in 1.20.11, 1.21.4
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Go standard library path/filepath 1.20.11, 1.21.4
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-24273 Insecure parsing of Windows paths with a \??\ prefix in path/filepathPriority LOW 39
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45284
- 2026-10-03 Alias added: GHSA-rq3x-83w4-p28c
References
More Go standard library Go vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
- TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
- TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-45284 · CVE Program
- CVE-2023-45284 · NVD
- FIRST EPSS
- GHSA-rq3x-83w4-p28c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences