CVE-2023-45283
publishedInsecure parsing of Windows paths with a \??\ prefix in path/filepath
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | path/filepath0 to < 1.20.11 · 1.21.0-0 to < 1.21.4 · Other versions: unaffected · Platforms: windows | Affected | Not stated | Go |
| Go standard library | — | internal/safefilepath0 to < 1.20.11 · 1.21.0-0 to < 1.21.4 · Other versions: unaffected · Platforms: windows | Affected | Not stated | Go |
| Go standard library | — | path/filepath1.20.11 to < 1.20.12 · 1.21.4 to < 1.21.5 · Other versions: unaffected · Platforms: windows | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2388 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-477 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | go1.20aarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20ppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20s390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | go1.20x86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-docaarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-docppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-docs390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-docx86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-opensslaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-opensslppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssls390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-opensslx86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-docaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-docppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-docs390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-docx86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-raceaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-raceppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-races390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-openssl-racex86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-raceaarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.20-racex86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21aarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21ppc64le | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21s390x | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21x86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-docaarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-docppc64le | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-docs390x | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-docx86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-opensslaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-opensslppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssls390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-opensslx86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-docaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-docppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-docs390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-docx86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-raceaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-raceppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-races390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-openssl-racex86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-raceaarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.21-racex86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20aarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20ppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20s390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20x86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-docaarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-docppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-docs390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-docx86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-opensslaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-opensslppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssls390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-opensslx86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-docaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-docppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-docs390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-docx86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-raceaarch64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-raceppc64le | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-races390x | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-openssl-racex86_64 | Advisory build | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4472-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-raceaarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-raceppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-races390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.20-racex86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21aarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21ppc64le | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21s390x | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21x86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-docaarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-docppc64le | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-docs390x | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-docx86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-opensslaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-opensslppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssls390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-opensslx86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-docaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-docppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-docs390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-docx86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-raceaarch64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-raceppc64le | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-races390x | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-openssl-racex86_64 | Advisory build | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4469-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-raceaarch64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-raceppc64le | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-races390x | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | SLE-15-SP5 | go1.21-racex86_64 | Advisory build | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4471-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20aarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20ppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20s390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20x86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20-docaarch64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20-docppc64le | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20-docs390x | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | go1.20-docx86_64 | Advisory build | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4470-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | path/filepath | 0 to < 1.20.11 (affected · semver)1.21.0-0 to < 1.21.4 (affected · semver)Default: unaffected | Go · cna |
| Go standard library | internal/safefilepath | 0 to < 1.20.11 (affected · semver)1.21.0-0 to < 1.21.4 (affected · semver)Default: unaffected | Go · cna |
| Go standard library | path/filepath | 1.20.11 to < 1.20.12 (affected · semver)1.21.4 to < 1.21.5 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-41 CWE-41: Improper Resolution of Path Equivalence
References
9- http://www.openwall.com/lists/oss-security/2023/12/05/2
- https://go.dev/cl/540277
- https://go.dev/cl/541175
- https://go.dev/issue/63713
- https://go.dev/issue/64028
- https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY
- https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ
- https://pkg.go.dev/vuln/GO-2023-2185
- https://security.netapp.com/advisory/ntap-20231214-0008/
Provider assertions
2Go · cna
Insecure parsing of Windows paths with a \??\ prefix in path/filepath
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9913df44a625672ba6b369b0ef253e7b2ac219e7b62e04e98f67c6ac5b7b269c
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record