{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-45284","id":"CVE-2023-45284","title":"Incorrect detection of reserved device names on Windows in path/filepath","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.","descriptionLong":"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":"2023-11-09T16:30:15.250Z","updated":"2026-10-28T02:31:10.584703186Z","reserved":"2023-10-06T17:06:26.220Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Go standard library path/filepath"],"affectedProducts":[{"vendor":"Go standard library","product":"path/filepath","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.20.11","status":"affected","versionType":"semver"},{"version":"1.21.0-0","lessThan":"1.21.4","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.20.11",">=1.21.0-0 <1.21.4"],"fixed":["1.20.11","1.21.4"],"advisory":"GO-2023-2186"}],"cwes":["CWE-41"],"aliases":["BIT-golang-2023-45284","GO-2023-2186"],"references":[{"url":"https://go.dev/issue/63713","tags":["x_transferred","Issue Tracking","Vendor Advisory","web","report"]},{"url":"https://go.dev/cl/540277","tags":["x_transferred","Issue Tracking","Vendor Advisory","web","fix"]},{"url":"https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY","tags":["x_transferred","Issue Tracking","Mailing List","Vendor Advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2023-2186","tags":["x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45284.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45284","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01096,"epssPercentile":0.66291,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-45284","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45284","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-45284","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-45284","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}