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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade golang-testsUpgrade golang-srcUpgrade golang-miscUpgrade golangUpgrade golang-sharedUpgrade golang-binUpgrade golang-docs | Jan 10, 2024 | Nov 9, 2023 |
| Amazon_linux | — | Upgrade golang | Jan 9, 2024 | Nov 9, 2023 |
| Debian | — | No solution exists | May 15, 2025 | Nov 9, 2023 |
| Gentoo Linux | — | Upgrade dev-lang/go. | Aug 8, 2024 | Nov 9, 2023 |
| Splunk | — | Upgrade Splunk Enterprise to version 9.2.3Upgrade Splunk Enterprise to version 9.1.6Upgrade Splunk Enterprise to version 9.3.1 | Jul 30, 2026 | Nov 9, 2023 |
| Suse | — | Upgrade go1.20-docUpgrade go1.21Upgrade go1.20-openssl-raceUpgrade go1.20Upgrade go1.21-opensslUpgrade go1.21-openssl-raceUpgrade go1.20-openssl-docUpgrade go1.21-raceUpgrade go1.20-opensslUpgrade go1.21-docUpgrade go1.21-openssl-docUpgrade go1.20-race | Nov 17, 2023 | Nov 9, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Nov 9, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub