Description
Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go standard library | os/exec | < 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 | — |
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 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | golang | 1.18.5-1 | — |
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-0532 |
Advisories 14
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- 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
- ALAS2-2023-2015 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 23, 2025
- WID-SEC-2022-1461 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
- ALAS2023-2023-175 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 3, 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