ADVISORIES

Vulnerability

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

19 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2021-1609

    Amazon Linux 2 2017.12 - ALAS2-2021-1609: medium priority package update for golang

    Medium CVE-2021-3114CVE-2021-3115 Amazon Linux Updated 19 February 2021
  • ALPINE-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…

    CVE-2021-3115 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-3115
    CVE-2021-3115 Alpine Updated 18 November 2026
  • AZL-38572

    CVE-2021-3115 affecting package python-tensorboard for versions less than 2.16.2-1

    CVE-2021-3115 Azure Linux Updated 21 April 2026
  • DEBIAN-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…

    CVE-2021-3115 Debian Updated 24 November 2026
  • ELSA-2021-1746

    ELSA-2021-1746: go-toolset:ol8 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-3114CVE-2021-3115 Oracle Linux Updated 25 May 2021
  • GO-2021-0068

    Arbitrary code injection via the go command with cgo on Windows in cmd/go

    CVE-2021-3115 Go Updated 20 May 2024
  • RHSA-2021:1339

    Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.0 and security update

    CVE-2021-3114CVE-2021-3115 Red Hat Updated 13 November 2026
  • RHSA-2021:1746

    Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update

    CVE-2021-3114CVE-2021-3115 Red Hat Updated 13 November 2026
  • RHSA-2021:2095

    Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.14.1 security update

    CVE-2021-3114CVE-2021-3115 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2021-3115

    golang: cmd/go: packages using cgo can cause arbitrary code execution at build time

    Moderate CVE-2021-3115 Red Hat Updated 7 November 2026
  • RLSA-2021:1746

    Moderate: go-toolset:rhel8 security, bug fix, and enhancement update

    CVE-2021-3114CVE-2021-3115 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:0222-1

    Security update for go1.14

    CVE-2021-3114CVE-2021-3115 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0223-1

    Security update for go1.15

    CVE-2021-3114CVE-2021-3115 SUSE Updated 4 February 2026
  • openSUSE-SU-2021:0190-1

    Security update for go1.14

    CVE-2021-3114CVE-2021-3115 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0192-1

    Security update for go1.15

    CVE-2021-3114CVE-2021-3115 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0194-1

    Security update for go1.14

    CVE-2021-3114CVE-2021-3115 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10807-1

    go1.14-1.14.15-1.6 on GA media

    CVE-2020-14039CVE-2020-15586CVE-2020-16845CVE-2020-24553 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10808-1

    go1.15-1.15.15-1.2 on GA media

    CVE-2020-24553CVE-2020-28362CVE-2020-28366CVE-2020-28367 openSUSE Updated 4 February 2026

References