# CVE-2023-45284: Incorrect detection of reserved device names on Windows in path/filepath

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2023-11-08T22:42:19.000Z
- Modified: 2026-09-08T08:47:49.217Z
- Also known as: GO-2023-2186, BIT-GOLANG-2023-45284
- Related: CGA-gmp7-33mh-fq8f
- Weaknesses: CWE-41
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- path/filepath: before 1.20.11; from 1.21.0-0 before 1.21.4
- golang go: before 1.20.11; from 1.21.0-0 before 1.21.4
- stdlib (Go): before 1.20.11; from 1.21.0-0 before 1.21.4
- golang (Bitnami): before 1.20.11; from 1.21.0-0 before 1.21.4

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/issue/63713> (advisory, issue-tracking, report, vendor-advisory)
- <https://go.dev/cl/540277> (advisory, fix, issue-tracking, vendor-advisory)
- <https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY> (advisory, issue-tracking, mailing-list, vendor-advisory, web)
- <https://pkg.go.dev/vuln/GO-2023-2186> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45284> (web)

## Sources

- CVE List: [CVE-2023-45284](https://www.cve.org/CVERecord?id=CVE-2023-45284), CVE Terms of Use, modified 2024-09-03
- Go Vulnerability Database: [GO-2023-2186](https://pkg.go.dev/vuln/GO-2023-2186), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-45284](https://nvd.nist.gov/vuln/detail/CVE-2023-45284), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2023-45284](https://osv.dev/vulnerability/BIT-GOLANG-2023-45284), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-45284 · Whole record: https://cve.day/CVE-2023-45284.json · Rebuilt by cve.day 2026-11-25T22:58:30.275Z
