Description
Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example, cgo can execute a gcc program from an untrusted download).
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 11 | golang-1.15 | 1.15.7-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | delve | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2021:1746 |
| RHEL 8 | golang +7 | 1.15.7-1.module+el8.4.0+9580+3b0e6c24 | RHSA-2021:1746 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Serverless 1 | openshift-serverless-clients | 0.20.0-6.el8 | RHSA-2021:2095, RHSA-2021:1339 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | delve | 1.5.0-2.module+el8.4.0+396+d2d16ae3 | RLSA-2021:1746 |
| Rocky Linux 8 | golang +1 | 1.15.7-1.module+el8.4.0+396+d2d16ae3 | RLSA-2021:1746 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SLES 15 SP2 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SLES 15 SP1 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SLES 15 SP1 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SLES for SAP 15 SP1 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SLE HPC 15 SP1 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SLE HPC 15 SP1 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SUSE Manager Server 4.0 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SUSE Manager Server 4.0 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SUSE Manager Retail Branch Server 4.0 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SUSE Manager Retail Branch Server 4.0 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SUSE Manager Proxy 4.0 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SUSE Manager Proxy 4.0 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| SUSE Enterprise Storage 6 | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SUSE Enterprise Storage 6 | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.14 | 1.14.15-1.6 | openSUSE-SU-2024:10807-1 |
| openSUSE Tumbleweed | go1.15 | 1.15.15-1.2 | openSUSE-SU-2024:10808-1 |
| openSUSE Leap 15.2 | go1.14 | 1.14.14-lp152.2.18.1 | openSUSE-SU-2021:0194-1 |
| openSUSE Leap 15.2 | go1.15 | 1.15.7-lp152.8.1 | openSUSE-SU-2021:0192-1 |
| openSUSE Leap 15.1 | go1.14 | 1.14.14-lp151.28.1 | openSUSE-SU-2021:0190-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | go | 1.15.7-r0 | — |
| Alpine v3.23 | go | 1.15.7-r0 | — |
| Alpine v3.22 | go | 1.15.7-r0 | — |
| Alpine v3.21 | go | 1.15.7-r0 | — |
| Alpine v3.20 | go | 1.15.7-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | go | 1.15.7-r0 | — |
| Alpine v3.18 | go | 1.15.7-r0 | — |
| Alpine v3.17 | go | 1.15.7-r0 | — |
| Alpine v3.16 | go | 1.15.7-r0 | — |
| Alpine v3.15 | go | 1.15.7-r0 | — |
| Alpine v3.14 | go | 1.15.7-r0 | — |
| Alpine v3.13 | go | 1.15.7-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | golang +6 | 1.15.8-1.amzn2.0.1 | ALAS2-2021-1609 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-tensorboard | 2.16.2-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 | ELSA-2021-1746 |
| Oracle Linux 8 | golang +7 | 1.15.7-1.module+el8.4.0+20021+8a86d991 | ELSA-2021-1746 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | toolchain | < 1.14.14 · >= 1.15.0-0, < 1.15.7 | 1.14.14, 1.15.7 | GO-2021-0068 |
Advisories 13
- RHSA-2021:1746 Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 8, 2026
- RHSA-2021:2095 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.1 security update Red Hat Security Advisories (RHSA) · Aug 8, 2026
- RHSA-2021:1339 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.0 and security update Red Hat Security Advisories (RHSA) · Aug 8, 2026
- RLSA-2021:1746 Moderate: go-toolset:rhel8 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2021:0194-1 Security update for go1.14 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0192-1 Security update for go1.15 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0223-1 Security update for go1.15 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10808-1 go1.15-1.15.15-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0190-1 Security update for go1.14 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10807-1 go1.14-1.14.15-1.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0222-1 Security update for go1.14 SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2021-1746 Moderate: go-toolset:ol8 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 25, 2021
- ALAS2-2021-1609 Moderate: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 19, 2021