Skip to content
5.3 Medium

CVE-2023-45284 On Windows, The IsLocal function does not correctly detect reserved device names in some cases

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.

Affected products and versions

Product Affected versions Fixed in
path/filepath 1.21 1.21.0-0 → < 1.21.4 1.21.4
path/filepath 1.20 earliest → < 1.20.11 1.20.11
Go 1.21 1.21.0-0 → < 1.21.4 1.21.4
Go 1.20 earliest → < 1.20.11 1.20.11

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of path/filepath →
Track this CVE