Vulnerabilities · 2021 · Golang
CVE-2021-3115
Golang Go vulnerability
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).
Affected products
Go, Fedora, Cloud Insights Telegraf Agent, Storagegrid. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.golang.org/path-security · Vendor Advisory
- groups.google.com/g/golang-announce/c/mperVMGa98w · Third Party Advisory
- security.gentoo.org/glsa/202208-02 · Third Party Advisory
- security.netapp.com/advisory/ntap-20210219-0001/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y
- nvd.nist.gov/vuln/detail/CVE-2021-3115
- cve.org/CVERecord?id=CVE-2021-3115
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.