CVE-2023-45284Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- Published
- Nov 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.20.11 |
1.20.11 |
go get stdlib@v1.20.11 |
| Go | stdlib |
≥ 1.21.0-0 < 1.21.4 |
1.21.4 |
go get stdlib@v1.21.4 |
Per OSV / GitHub Advisories (GO-2023-2186). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.20.11 |
| golang | go | ≥ 1.21.0-0 < 1.21.4 |
Official sources
References
Links published by the sources. Open them with care.
- go.dev Issue Tracking Vendor Advisory
- go.dev Issue Tracking Vendor Advisory
- groups.google.com Issue Tracking Mailing List Vendor Advisory
- pkg.go.dev Issue Tracking Vendor Advisory