Security mailing lists by PureSourceCode

CVE-2021-3115

HIGH 7.5CVSS 3.1

Arbitrary code injection via the go command with cgo on Windows in cmd/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).

Published
26 Jan 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-427
Also known as
BIT-golang-2021-3115GO-2021-0068
Sources
NVDJSONOSV GO-2021-0068JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.14.14 1.14.14
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.15, < 1.15.7 1.15.7
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD netapp cloud_insights_telegraf_agent
cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*
(no version)
NVD netapp storagegrid
cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*
(no version)
OSV Go toolchain < 1.14.14; >= 1.15.0-0, < 1.15.7 1.14.14, 1.15.7

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.