{"id":"CVE-2023-45284","aliases":["CVE-2023-45284","GO-2023-2186","BIT-GOLANG-2023-45284"],"related":["CGA-gmp7-33mh-fq8f"],"kind":"vulnerability","state":"published","title":"Incorrect detection of reserved device names on Windows in path/filepath","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Windows, la función IsLocal no detecta correctamente los nombres de dispositivos reservados en algunos casos. Los nombres reservados seguidos de espacios, como \"COM1\", y los nombres reservados \"COM\" y \"LPT\" seguidos del superíndice 1, 2 o 3 se informan incorrectamente como locales. Con la solución, IsLocal ahora informa correctamente estos nombres como no locales.","source":"nvd"}],"published":"2023-11-08T22:42:19.000Z","modified":"2026-09-08T08:47:49.217Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-41"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.20.11","status":"affected"},{"type":"semver","introduced":"1.21.0-0","fixed":"1.21.4","status":"affected"}],"vendor":"Go standard library","product":"path/filepath","package":"path/filepath","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.20.11","status":"affected"},{"type":"semver","introduced":"1.21.0-0","fixed":"1.21.4","status":"affected"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.11"},{"type":"semver","introduced":"1.21.0-0","status":"affected","fixed":"1.21.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.20.11"},{"status":"affected","introduced":"1.21.0-0","fixed":"1.21.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.11"},{"type":"semver","introduced":"1.21.0-0","status":"affected","fixed":"1.21.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/issue/63713","tags":["advisory","issue-tracking","report","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/540277","tags":["advisory","fix","issue-tracking","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY","tags":["advisory","issue-tracking","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2023-2186","tags":["advisory","issue-tracking","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45284","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-03T18:55:41.107Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45284","url":"https://www.cve.org/CVERecord?id=CVE-2023-45284","licence":"CVE Terms of Use","modified":"2024-09-03T19:00:47.531Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-2186","url":"https://pkg.go.dev/vuln/GO-2023-2186","licence":"CC-BY-4.0","modified":"2026-02-04T03:56:59.969Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45284","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45284","licence":"Public domain","modified":"2026-06-17T06:28:35.010Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2023-45284","url":"https://osv.dev/vulnerability/BIT-GOLANG-2023-45284","licence":"Apache-2.0","modified":"2026-09-08T08:47:49.217Z"}],"updatedAt":"2026-11-25T22:58:30.275Z","epss":{"score":0.01106,"percentile":0.66737,"date":"2026-12-01T12:00:22.000Z"}}