CVE-2023-45284 json
Incorrect detection of reserved device names on Windows in path/filepath
published 2023-11-08 3 y ago modified 2026-09-08 2 mo ago also BIT-golang-2023-45284 , EUVD-2023-49585 , GO-2023-2186
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
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.
Patch / fix
- bitnami golang 1.20.11, 1.21.4
- go stdlib 1.20.11, 1.21.4
- Go standard library path/filepath 1.20.11, 1.21.4
- golang go 1.20.11, 1.21.4
- go1.21-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.5.1-150000.1.8.1
- go1.20-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.12.1-150000.1.17.1
- go1.21 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.5-150000.1.18.1
- go1.20 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.12-150000.1.35.1
- go1.20-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.11.1-150000.1.14.1
- go1.21 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.4-150000.1.15.1
- go1.20 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.11-150000.1.32.1
- go1.21-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.4.1-150000.1.5.1
suse advisories SUSE-SU-2023:4931-1SUSE-SU-2023:4930-1SUSE-SU-2023:4709-1SUSE-SU-2023:4708-1SUSE-SU-2023:4472-1SUSE-SU-2023:4471-1
- traefik2 openSUSE Tumbleweed 2.11.5-1.1
- go1.20 openSUSE Tumbleweed 1.20.12-1.1
- go1.21 openSUSE Tumbleweed 1.21.5-1.1
- traefik openSUSE Tumbleweed 2.10.7-1.1
opensuse advisories openSUSE-SU-2024:14076-1openSUSE-SU-2024:13491-1openSUSE-SU-2024:13492-1openSUSE-SU-2024:13506-1
- go.dev/cl/540277 advisory
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.20.11 >=1.21.0-0, <1.21.4 |
1.20.11 1.21.4 |
| go | stdlib | <1.20.11 >=1.21.0-0, <1.21.4 |
1.20.11 1.21.4 |
Affected products
- Go standard library path/filepath
- golang go
References
-
go.dev
/cl/540277
issue-tracking, vendor-advisory, advisory, patch
-
go.dev
/issue/63713
issue-tracking, vendor-advisory, advisory, report
-
groups.google.com
/g/golang-announce/c/4tU8LZfBFkY
issue-tracking, mailing-list, vendor-advisory, advisory, web
-
pkg.go.dev
/vuln/GO-2023-2186
issue-tracking, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-45284
web
Sources
- CVE List CVE-2023-45284
- NVD CVE-2023-45284
- OSV BIT-golang-2023-45284
- OSV GO-2023-2186
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.