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).

Published: 2021-01-26 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-3115 is rated High Risk (67.5/100): CVSS High severity, with high exploitation likelihood (EPSS 6.44%, 93th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +6.31% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-3115

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.13% 6.44% +6.31%
2 2025-11-21 0.63% 0.13% -0.50%
3 2025-11-18 0.63%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-3115

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 5.9 [email protected]
5.1 2.0 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
4.9 6.4 [email protected]

Weakness enumeration for CVE-2021-3115

OS Trackers for CVE-2021-3115

vendor priority summary link
alpine high CVE-2021-3115: 1 source package rows (go); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2021-3115
debian not yet assigned CVE-2021-3115 not yet assigned priority: Debian including 1 source packages (golang-1.15), 1 status rows across 1 suites (bullseye): resolved 1. https://security-tracker.debian.org/tracker/CVE-2021-3115
gentoo high CVE-2021-3115: 1 GLSA(s) (202208-02), 1 atom(s) (dev-lang/go); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-3115
redhat medium https://access.redhat.com/security/cve/CVE-2021-3115
suse high CVE-2021-3115 severity important: SUSE including 30 source package names (delve-1.5.0-2.module+el8.4.0+8864+58b0fcdb, go-toolset-1.15.7-1.module+el8.4.0+9580+3b0e6c24, …), 109 product×package rows across 21 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (21 product lines)): Fixed 109. https://www.suse.com/security/cve/CVE-2021-3115/
ubuntu medium CVE-2021-3115 medium priority: Ubuntu including 8 source packages (golang, golang-1.10, …), 48 status rows across 6 suites (bionic, focal, groovy, trusty, upstream, xenial): DNE 27, not-affected 13, needs-triage 7, released 1. https://ubuntu.com/security/CVE-2021-3115

Affected software / configurations for CVE-2021-3115

Vendor Product Version Raw CPE
golang go < 1.14.14 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
golang go >= 1.15, < 1.15.7 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
netapp cloud_insights_telegraf_agent cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*
netapp storagegrid cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*

References for CVE-2021-3115

cvelogic Threat Intelligence