SecurityContext

CVE-2021-3115: Go - Command Injection

  • Cve: CVE-2021-3115
  • Name: Go - Command Injection
  • 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).
  • Impact: Attackers can execute arbitrary commands remotely, potentially leading to remote code execution on the system.
  • Remediation: Update to Go 1.14.14, 1.15.7, or later versions.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.06905
  • Epss percentile: 0.94238
  • Assignee: [email protected]
  • Published at: 2021-01-26T18:16:27Z
  • Age in days: 2128
  • Modified at: 2026-06-17T04:04:41Z
  • Patch available: yes
  • References total: 5
  • Products total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3115
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

References

Same in every row:

  • Source: nvd
UrlTags
https://blog.golang.org/path-securityVendor Advisory
https://groups.google.com/g/golang-announce/c/mperVMGa98wRelease Notes, Third Party Advisory
https://security.gentoo.org/glsa/202208-02Third Party Advisory
https://security.netapp.com/advisory/ntap-20210219-0001/Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YWAYJGXWC232SG3UR3TR574E6BP3OSQQ/

Products

Same in every row:

  • Sources: nvd
ProductAffectedPlatform boundUrl
golang:go>= 1.15, < 1.15.7; < 1.14.14yes/v1/products/golang/go
fedoraproject:fedora= 33no/v1/products/fedoraproject/fedora
netapp:storagegridall versionsno/v1/products/netapp/storagegrid
netapp:cloud_insights_telegraf_agentall versionsno/v1/products/netapp/cloud_insights_telegraf_agent

Projects

RepositoryLink kindsIndexedUrl
golang/gofixyes/v1/repositories/golang/go

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1852470
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports