Vulnerability
CVE-2021-3115
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).
19 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2021-1609
Amazon Linux 2 2017.12 - ALAS2-2021-1609: medium priority package update for golang
-
ALPINE-CVE-2021-3115
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…
- ALPINE-EDGE-CVE-2021-3115
-
AZL-38572
CVE-2021-3115 affecting package python-tensorboard for versions less than 2.16.2-1
-
DEBIAN-CVE-2021-3115
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…
-
ELSA-2021-1746
ELSA-2021-1746: go-toolset:ol8 security, bug fix, and enhancement update (MODERATE)
-
GO-2021-0068
Arbitrary code injection via the go command with cgo on Windows in cmd/go
-
RHSA-2021:1339
Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.0 and security update
-
RHSA-2021:1746
Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update
-
RHSA-2021:2095
Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.1 security update
-
RHVEX-CVE-2021-3115
golang: cmd/go: packages using cgo can cause arbitrary code execution at build time
-
RLSA-2021:1746
Moderate: go-toolset:rhel8 security, bug fix, and enhancement update
-
SUSE-SU-2021:0222-1
Security update for go1.14
-
SUSE-SU-2021:0223-1
Security update for go1.15
-
openSUSE-SU-2021:0190-1
Security update for go1.14
-
openSUSE-SU-2021:0192-1
Security update for go1.15
-
openSUSE-SU-2021:0194-1
Security update for go1.14
-
openSUSE-SU-2024:10807-1
go1.14-1.14.15-1.6 on GA media
-
openSUSE-SU-2024:10808-1
go1.15-1.15.15-1.2 on GA media
References
- https://blog.golang.org/path-security
- https://groups.google.com/g/golang-announce/c/mperVMGa98w
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YWAYJGXWC232SG3UR3TR574E6BP3OSQQ/
- https://security.gentoo.org/glsa/202208-02
- https://security.netapp.com/advisory/ntap-20210219-0001/