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

Published Nov 9, 2023
·
Updated

Golang Go could provide weaker than expected security, caused by the failure to correctly detect reserved device names in some cases by the IsLocal function in the filepath package. An attacker could exploit this vulnerability to report "COM1", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3 as local.

Other sources

Incorrect detection of reserved device names on Windows in path/filepath

Microsoft

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.

MITRE

Affected Software

7 affected componentsFixes available
All of the following
Any of the following
Golang Go<1.20.11
Golang Go>=1.21.0-0<1.21.4
Microsoft Windows
IBM Concert Software<=1.0.0-1.0.5
Microsoft cbl2 golang 1.18.8-7
Microsoft cbl2 golang 1.21.6-1
Microsoft cbl2 golang 1.17.13-2

Event History

Nov 9, 2023
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionWeakness
Sep 4, 2025
Data Sourced
via Microsoft·07:55 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:55 AM
Affected Software
Updated
via Microsoft·07:55 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-45284?

CVE-2023-45284 is a vulnerability that affects the path/filepath package in Golang Go.

2

What is the severity of CVE-2023-45284?

CVE-2023-45284 has a severity of medium, with a severity value of 5.3.

3

How does CVE-2023-45284 affect Golang Go?

CVE-2023-45284 affects Golang Go versions up to 1.20.11 and versions 1.21.0-0 to 1.21.4.

4

How can I fix CVE-2023-45284?

To fix CVE-2023-45284, update Golang Go to a version that is not vulnerable, such as version 1.20.12 or 1.21.5.

5

Where can I find more information about CVE-2023-45284?

You can find more information about CVE-2023-45284 in the references provided: [Link 1](https://go.dev/issue/63713), [Link 2](https://go.dev/cl/540277), [Link 3](https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203