CVEMETERBack to radar
OFFICIAL RECORD · Go

CVE-2023-45283

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Insecure parsing of Windows paths with a \??\ prefix in path/filepath

The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 3.345% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:37.302ZFIRST EPSS
patchesverified2026-11-19T12:52:39.236ZOSV
affectedverified2026-11-19T12:56:59.635ZCVE Program
lifecycleverified2026-11-19T12:56:59.635ZCVE Program

Affected versions and configuration

Go standard library path/filepath (windows); default status: unaffected: 0 to < 1.20.11 [affected; scheme: semver]; 1.21.0-0 to < 1.21.4 [affected; scheme: semver] Go standard library internal/safefilepath (windows); default status: unaffected: 0 to < 1.20.11 [affected; scheme: semver]; 1.21.0-0 to < 1.21.4 [affected; scheme: semver] Go standard library path/filepath (windows); default status: unaffected: 1.20.11 to < 1.20.12 [affected; scheme: semver]; 1.21.4 to < 1.21.5 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Go standard library",
      "product": "path/filepath",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.20.11",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.21.0-0",
          "lessThan": "1.21.4",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "windows"
      ],
      "packageName": "path/filepath",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "Clean"
        },
        {
          "name": "volumeNameLen"
        },
        {
          "name": "join"
        },
        {
          "name": "Abs"
        },
        {
          "name": "Base"
        },
        {
          "name": "Dir"
        },
        {
          "name": "EvalSymlinks"
        },
        {
          "name": "Glob"
        },
        {
          "name": "IsLocal"
        },
        {
          "name": "Join"
        },
        {
          "name": "Rel"
        },
        {
          "name": "Split"
        },
        {
          "name": "VolumeName"
        },
        {
          "name": "Walk"
        },
        {
          "name": "WalkDir"
        }
      ]
    },
    {
      "vendor": "Go standard library",
      "product": "internal/safefilepath",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.20.11",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.21.0-0",
          "lessThan": "1.21.4",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "windows"
      ],
      "packageName": "internal/safefilepath",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "fromFS"
        },
        {
          "name": "FromFS"
        }
      ]
    },
    {
      "vendor": "Go standard library",
      "product": "path/filepath",
      "versions": [
        {
          "status": "affected",
          "version": "1.20.11",
          "lessThan": "1.20.12",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "1.21.4",
          "lessThan": "1.21.5",
          "versionType": "semver"
        }
      ],
      "platforms": [
        "windows"
      ],
      "packageName": "path/filepath",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "volumeNameLen"
        },
        {
          "name": "Abs"
        },
        {
          "name": "Base"
        },
        {
          "name": "Clean"
        },
        {
          "name": "Dir"
        },
        {
          "name": "EvalSymlinks"
        },
        {
          "name": "Glob"
        },
        {
          "name": "IsLocal"
        },
        {
          "name": "Join"
        },
        {
          "name": "Rel"
        },
        {
          "name": "Split"
        },
        {
          "name": "VolumeName"
        },
        {
          "name": "Walk"
        },
        {
          "name": "WalkDir"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://go.dev/issue/63713",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://go.dev/cl/540277",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://go.dev/issue/64028",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://go.dev/cl/541175",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2023-2185",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2023/12/05/2",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20231214-0008/",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-02T20:21:15.278Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2023-2185",
  "aliases": [
    "BIT-golang-2023-45283",
    "CVE-2023-45283"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.11"
            },
            {
              "introduced": "1.21.0-0"
            },
            {
              "fixed": "1.21.4"
            }
          ]
        }
      ],
      "package": {
        "name": "stdlib",
        "purl": "pkg:golang/stdlib",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2023-2185.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "goos": [
              "windows"
            ],
            "path": "path/filepath",
            "symbols": [
              "Abs",
              "Base",
              "Clean",
              "Dir",
              "EvalSymlinks",
              "Glob",
              "IsLocal",
              "Join",
              "Rel",
              "Split",
              "VolumeName",
              "Walk",
              "WalkDir",
              "join",
              "volumeNameLen"
            ]
          },
          {
            "goos": [
              "windows"
            ],
            "path": "internal/safefilepath",
            "symbols": [
              "FromFS",
              "fromFS"
            ]
          }
        ]
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "1.20.11"
            },
            {
              "fixed": "1.20.12"
            },
            {
              "introduced": "1.21.4"
            },
            {
              "fixed": "1.21.5"
            }
          ]
        }
      ],
      "package": {
        "name": "stdlib",
        "purl": "pkg:golang/stdlib",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2023-2185.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "goos": [
              "windows"
            ],
            "path": "path/filepath",
            "symbols": [
              "Abs",
              "Base",
              "Clean",
              "Dir",
              "EvalSymlinks",
              "Glob",
              "IsLocal",
              "Join",
              "Rel",
              "Split",
              "VolumeName",
              "Walk",
              "WalkDir",
              "volumeNameLen"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/issue/63713",
      "type": "REPORT"
    },
    {
      "url": "https://go.dev/cl/540277",
      "type": "FIX"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY",
      "type": "WEB"
    },
    {
      "url": "https://go.dev/issue/64028",
      "type": "REPORT"
    },
    {
      "url": "https://go.dev/cl/541175",
      "type": "FIX"
    },
    {
      "url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2023-2185",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.20.11Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.21.4Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.20.12Official record
ecosystem-boundaryGo / packagestdlibNot a distribution channel1.21.5Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history