Skip to main content
← All vulnerabilities
CVE-2023-45284GO-2023-2186BIT-GOLANG-2023-45284

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.11, 1.21.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • path/filepath

    fixed in 1.20.11; From 1.21.0-0 · fixed in 1.21.4

  • stdlibGo

    fixed in 1.20.11; From 1.21.0-0 · fixed in 1.21.4

References 4

go.dev

groups.google.com

pkg.go.dev