Description
Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go standard library | path/filepath | < 1.17.11, 1.18.0-0 – < 1.18.3 | 1.17.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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SLES 15 SP4 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SLES 15 SP4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLES 15 SP3 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SLES 15 SP3 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SLES 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE Real Time 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE HPC 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE Enterprise Storage 7.1 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.17 | 1.17.11-1.1 | openSUSE-SU-2024:12123-1 |
| openSUSE Tumbleweed | go1.18 | 1.18.3-1.1 | openSUSE-SU-2024:12124-1 |
| openSUSE Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.4 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| openSUSE Leap 15.4 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| openSUSE Leap 15.4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.3 | go1.17 | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| openSUSE Leap 15.3 | go1.18 | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.16 | go | 1.18.4-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | golang | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.7.2-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957, ELSA-2022-17956 |
| Oracle Linux 8 | go-toolset | 1.17.11-1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957, ELSA-2022-17956 |
| Oracle Linux 8 | golang +6 | 1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957, ELSA-2022-17956 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.17.11 · >= 1.18.0-0, < 1.18.3 | 1.17.11, 1.18.3 | GO-2022-0533 |
Advisories 11
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- openSUSE-SU-2024:12123-1 go1.17-1.17.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12124-1 go1.18-1.18.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2312-1 Security update for go1.18-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2004-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2005-1 Security update for go1.18 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- WID-SEC-2022-1461 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
- ELSA-2022-17956 Important: go-toolset:ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 12, 2022
- ELSA-2022-17957 Important: ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 12, 2022