Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go standard library | path/filepath | < 1.20.11, 1.21.0-0 – < 1.21.4 | 1.20.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | golang-1.19 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-1.17 +1 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-1.13 +2 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-1.8 +2 | No fix yet | — |
| Ubuntu 16.04 LTS | golang-1.6 +1 | No fix yet | — |
| Ubuntu 14.04 LTS | golang-1.10 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | golang-1.13 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | golang-1.16 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | golang-1.13 +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | golang-1.13 +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | go1.20 | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4708-1, SUSE-SU-2023:4470-1 |
| SLES 15 SP5 | go1.20-openssl | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4930-1, SUSE-SU-2023:4472-1 |
| SLES 15 SP5 | go1.21 | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4709-1, SUSE-SU-2023:4471-1 |
| SLES 15 SP5 | go1.21-openssl | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4931-1, SUSE-SU-2023:4469-1 |
| SLES 15 SP4 | go1.20 | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4708-1, SUSE-SU-2023:4470-1 |
| SLES 15 SP4 | go1.20-openssl | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4930-1, SUSE-SU-2023:4472-1 |
| SLES 15 SP4 | go1.21 | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4709-1, SUSE-SU-2023:4471-1 |
| SLES 15 SP4 | go1.21-openssl | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4931-1, SUSE-SU-2023:4469-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.20 | 1.20.12-1.1 | openSUSE-SU-2024:13491-1 |
| openSUSE Tumbleweed | go1.21 | 1.21.5-1.1 | openSUSE-SU-2024:13492-1 |
| openSUSE Tumbleweed | traefik | 2.10.7-1.1 | openSUSE-SU-2024:13506-1 |
| openSUSE Tumbleweed | traefik2 | 2.11.5-1.1 | openSUSE-SU-2024:14076-1 |
| openSUSE Leap 15.5 | go1.20 | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4708-1, SUSE-SU-2023:4470-1 |
| openSUSE Leap 15.5 | go1.20-openssl | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4930-1, SUSE-SU-2023:4472-1 |
| openSUSE Leap 15.5 | go1.21 | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4709-1, SUSE-SU-2023:4471-1 |
| openSUSE Leap 15.5 | go1.21-openssl | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4931-1, SUSE-SU-2023:4469-1 |
| openSUSE Leap 15.4 | go1.20 | 1.20.11-150000.1.32.1 | SUSE-SU-2023:4708-1, SUSE-SU-2023:4470-1 |
| openSUSE Leap 15.4 | go1.20-openssl | 1.20.11.1-150000.1.14.1 | SUSE-SU-2023:4930-1, SUSE-SU-2023:4472-1 |
| openSUSE Leap 15.4 | go1.21 | 1.21.4-150000.1.15.1 | SUSE-SU-2023:4709-1, SUSE-SU-2023:4471-1 |
| openSUSE Leap 15.4 | go1.21-openssl | 1.21.4.1-150000.1.5.1 | SUSE-SU-2023:4931-1, SUSE-SU-2023:4469-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +6 | 1.20.12-1.amzn2023.0.1 | ALAS2023-2024-477 |
| Amazon Linux 2 | golang +6 | 1.20.12-1.amzn2.0.1 | ALAS2-2024-2388 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | golang | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | golang | 1.21.6-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.20.11 · >= 1.21.0-0, < 1.21.4 | 1.20.11, 1.21.4 | GO-2023-2186 |
Advisories 15
- openSUSE-SU-2024:13492-1 go1.21-1.21.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4470-1 Security update for go1.20 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4709-1 Security update for go1.21 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13506-1 traefik-2.10.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14076-1 traefik2-2.11.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4471-1 Security update for go1.21 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4469-1 Security update for go1.21-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4931-1 Security update for go1.21-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13491-1 go1.20-1.20.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4472-1 Security update for go1.20-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4930-1 Security update for go1.20-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4708-1 Security update for go1.20 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2856 Golang Go: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 14, 2024
- ALAS2-2024-2388 Moderate: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2024
- ALAS2023-2024-477 Moderate: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 8, 2024