Description
A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as "a/../c:/b" into the valid path "c:\b". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path ".\c:\b".
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go standard library | path/filepath | < 1.19.6, 1.20.0-0 – < 1.20.1 | 1.19.6 |
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 | 1.19.6-2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Openshift Ironic 4 | openstack-ironic +5 | 1:21.3.1-0.20230510075528.b3c902e.el9 | RHSA-2023:3366 |
| Red Hat Openshift Ironic 4 | python-werkzeug +1 | 2.0.3-4.el9 | RHSA-2023:1325 |
| Red Hat OpenShift 4 | bpftool | 7.0.0-284.16.1.el9_2 | RHSA-2023:3366 |
| Red Hat OpenShift 4 | buildah +1 | 1:1.29.1-1.rhaos4.13.el9 | RHSA-2023:3366, RHSA-2023:1325 |
| Red Hat OpenShift 4 | cri-o | 1.26.3-3.rhaos4.13.git641290e.el9 | RHSA-2023:3366, RHSA-2023:1325 |
| Red Hat OpenShift 4 | cri-tools | 1.26.0-2.el9 | RHSA-2023:3366 |
| Red Hat OpenShift 4 | haproxy +1 | 2.2.24-3.rhaos4.13.el8 | RHSA-2023:1325 |
| Red Hat OpenShift 4 | kernel-rt +21 | 5.14.0-284.16.1.rt14.301.el9_2 | RHSA-2023:3366 |
| Red Hat OpenShift 4 | openshift +1 | 4.13.0-202304211155.p0.gb404935.assembly.stream.el8 | RHSA-2023:3366, RHSA-2023:1325 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.13.0-202303241616.p0.g92b1a3d.assembly.stream.el8 | RHSA-2023:3366, RHSA-2023:1325 |
| Red Hat OpenShift 4 | perf +60 | 5.14.0-284.16.1.el9_2 | RHSA-2023:3366 |
| Red Hat OpenShift 4 | podman +6 | 3:4.4.1-3.rhaos4.13.el8 | RHSA-2023:3366, RHSA-2023:1325 |
| Red Hat OpenShift 4 | python-werkzeug +1 | 1.0.1-3.el8ost | RHSA-2023:1325 |
| Red Hat OpenShift 4 | skopeo +1 | 2:1.10.0-1.rhaos4.13.el9 | RHSA-2023:3366, RHSA-2023:1325 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
| SLES 15 SP4 | go1.20 | 1.20.2-150000.1.5.1 | SUSE-SU-2023:0735-1 |
| SLES 15 SP3 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
| SLE Real Time 15 SP3 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
| SLE HPC 15 SP3 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
| SUSE Enterprise Storage 7.1 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.19 | 1.19.6-1.1 | openSUSE-SU-2024:12707-1 |
| openSUSE Tumbleweed | go1.20 | 1.20.1-1.1 | openSUSE-SU-2024:12708-1 |
| openSUSE Leap 15.4 | go1.19 | 1.19.7-150000.1.23.1 | SUSE-SU-2023:0733-1 |
| openSUSE Leap 15.4 | go1.20 | 1.20.2-150000.1.5.1 | SUSE-SU-2023:0735-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +7 | 1.19.8-1.amzn2023.0.1 | ALAS2023-2023-175 |
| Amazon Linux 2 | golang +7 | 1.18.9-1.amzn2.0.2 | ALAS2-2023-2015 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | golang | 1.22.7-2 | — |
| Azure Linux 2 (CBL-Mariner) | golang | 1.21.6-1 | — |
| Azure Linux 2 (CBL-Mariner) | msft-golang | 1.19.8-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.19.6 · >= 1.20.0-0, < 1.20.1 | 1.19.6, 1.20.1 | GO-2023-1568 |
Advisories 13
- RHSA-2023:1325 Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2023:3366 Red Hat Security Advisory: OpenShift Container Platform 4.13.2 packages and security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- SUSE-SU-2023:0733-1 Security update for go1.19 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0735-1 Security update for go1.20 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12708-1 go1.20-1.20.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12707-1 go1.19-1.19.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1354 Red Hat OpenShift Container Platform: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 27, 2025
- WID-SEC-2023-1378 Red Hat OpenShift Container Platform: Mehrere Schwachstellen ermöglichen Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Nov 27, 2025
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ALAS2-2023-2015 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 23, 2025
- NCSC-2024-0339 Kwetsbaarheden verholpen in Microsoft Mariner NCSC-NL (Netherlands) · Aug 13, 2024
- ALAS2023-2023-175 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 3, 2023