blob: 0bca40e99812d4a855a1c05cd76237a9fc35d2df [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-2186",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-45284"
],
"summary": "Incorrect detection of reserved device names on Windows in path/filepath",
"details": "On Windows, The IsLocal function does not correctly detect reserved device names in some cases.\n\nReserved 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.\n\nWith fix, IsLocal now correctly reports these names as non-local.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.11"
},
{
"introduced": "1.21.0-0"
},
{
"fixed": "1.21.4"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "path/filepath",
"symbols": [
"IsLocal"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/63713"
},
{
"type": "FIX",
"url": "https://go.dev/cl/540277"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-2186"
}
}