{"cve":"CVE-2021-3115","nvd":{"published":"2021-01-26T18:16:27.630","modified":"2026-06-17T04:04:41.610","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-427"],"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/"],"products":["fedoraproject:fedora","golang:go","netapp:cloud_insights_telegraf_agent","netapp:storagegrid"],"source":"nvd","synced_at":"2026-10-19T21:14:10.479542811+00:00"},"epss":{"cve":"CVE-2021-3115","score":0.06905,"percentile":0.94089,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GO-2021-0068","url":"https://osv.dev/vulnerability/GO-2021-0068","summary":"Arbitrary code injection via the go command with cgo on Windows in cmd/go","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":["<1.14.14",">=1.15.0-0 <1.15.7"],"fixed":["1.14.14","1.15.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}