Lucene search

K
cvelistGoCVELIST:CVE-2023-45284
HistoryNov 09, 2023 - 4:30 p.m.

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

2023-11-0916:30:15
Go
www.cve.org
2
cve-2023-45284
windows
islocal function
reserved device names
detection
path/filepath

6.5 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.6%

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.

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "path/filepath",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "path/filepath",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.20.11",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.21.0-0",
        "lessThan": "1.21.4",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "IsLocal"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

6.5 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

20.6%