Vulnerability record · CVE-2021-3115 · published 26 January 2021
CVE-2021-3115: Golang go uncontrolled search path element vulnerability
Golang · Go
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).
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).
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://blog.golang.org/path-security | Vendor Advisory |
| https://groups.google.com/g/golang-announce/c/mperVMGa98w | Release NotesThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YWAYJGXWC232SG3UR3TR574 | |
| https://security.gentoo.org/glsa/202208-02 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210219-0001/ | Third Party Advisory |
| https://blog.golang.org/path-security | Vendor Advisory |
| https://groups.google.com/g/golang-announce/c/mperVMGa98w | Release NotesThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YWAYJGXWC232SG3UR3TR574 | |
| https://security.gentoo.org/glsa/202208-02 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210219-0001/ | Third Party Advisory |
Track CVE-2021-3115 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3115), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.