Security mailing lists by PureSourceCode

CVE-2023-45284

MEDIUM 5.3CVSS 3.1

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

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.

Published
9 Nov 2023
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Also known as
BIT-golang-2023-45284GO-2023-2186
Sources
NVDJSONOSV GO-2023-2186JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.20.11 1.20.11
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.21.0-0, < 1.21.4 1.21.4
OSV Go stdlib < 1.20.11; >= 1.21.0-0, < 1.21.4 1.20.11, 1.21.4

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Nov 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Nov 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.