{"id":"CVE-2023-45284","published":"2023-11-09T16:30:15Z","modified":"2024-09-03T19:00:47Z","title":"Incorrect detection of reserved device names on Windows in path/filepath","vendor":"Go standard library","product":"path/filepath","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01096,"percentile":0.66395,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/63713","tags":[]},{"url":"https://go.dev/cl/540277","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-2186","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":13.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"path/filepath","versions":["< 1.20.11",">= 1.21.0-0, < 1.21.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-03T18:55:41.107810Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.20.11",">=1.21.0-0, <1.21.4"],"patched":["1.20.11","1.21.4"],"from":["GO-2023-2186"],"provenance":"source"}],"summary":{"text":"The path/filepath package in the Go standard library, on Windows, has a flaw in its IsLocal function that fails to recognise certain reserved device names, such as \"COM1 \" (with a trailing space) and \"COM\"/\"LPT\" followed by superscript digits 1, 2, or 3, as non-local. An attacker able to supply a path to code that relies on IsLocal for validation can exploit this over the network without authentication or user interaction, so long as the application uses IsLocal as a safety check on untrusted input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:30Z"},"euvd":{"id":"EUVD-2023-49585","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-39321","published":"2023-09-08","fixed":"1.21.1","kev":false},{"cve":"CVE-2023-39322","published":"2023-09-08","fixed":"1.21.1","kev":false},{"cve":"CVE-2023-39325","published":"2023-10-11","fixed":"1.21.3","kev":false,"link":{"from":"CVE-2023-39325","to":"CVE-2023-45284","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.20.10","toFixed":"1.20.11","daysApart":29}]}},{"cve":"CVE-2023-45284","published":"2023-11-09","fixed":"1.21.4","kev":false},{"cve":"CVE-2023-39326","published":"2023-12-06","fixed":"1.21.5","kev":false},{"cve":"CVE-2023-45283","published":"2023-11-09","fixed":"1.21.5","kev":false},{"cve":"CVE-2023-45289","published":"2024-03-05","fixed":"1.22.1","kev":false}],"package":"Go:stdlib"}}