Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3115

published

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

Title from Red Hat VEX

Published
26 Jan 2021, 02:14:51 UTC
Updated
03 Aug 2024, 16:45:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2021-1609 Fixed Not stated Amazon Linux assessment
Alpine Linux edge go Fixed 1.15.7-r0 Package fix record
Oracle Linux 8 delvex86_64 · go-toolset · ol8 is enabled Advisory build 0:1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Red Hat Enterprise Linux RHEL-8 delvesrc Advisory build 1.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:1746
SUSE / openSUSE SLE-15-SP1 go1.14aarch64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
Alpine Linux v3.13 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.14 go Fixed 1.15.7-r0 Package fix record
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.16 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.17 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.18 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.19 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.20 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.21 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.22 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.23 go Fixed 1.15.7-r0 Package fix record
Alpine Linux v3.24 go Fixed 1.15.7-r0 Package fix record
Oracle Linux 8 go-toolsetaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 go-toolsetx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golangaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golangx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-binaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-binx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-docsaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-docsx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-miscaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-miscx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-racex86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-srcaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-srcx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-testsaarch64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Oracle Linux 8 golang-testsx86_64 · go-toolset · ol8 is enabled Advisory build 0:1.15.7-1.module+el8.4.0+20021+8a86d991 ELSA-2021-1746
Red Hat Enterprise Linux RHEL-8 delvex86_64 Advisory build 1.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 delve-debuginfox86_64 Advisory build 1.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 delve-debugsourcex86_64 Advisory build 1.5.0-2.module+el8.4.0+8864+58b0fcdb RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 go-toolsetaarch64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 go-toolsetppc64le Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 go-toolsets390x Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 go-toolsetsrc Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 go-toolsetx86_64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golangaarch64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golangppc64le Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golangs390x Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golangsrc Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golangx86_64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-binaarch64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-binppc64le Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-bins390x Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-binx86_64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-docsnoarch Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-miscnoarch Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-racex86_64 Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-srcnoarch Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
Red Hat Enterprise Linux RHEL-8 golang-testsnoarch Advisory build 1.15.7-1.module+el8.4.0+9580+3b0e6c24 RHSA-2021:1746
SUSE / openSUSE SLE-15-SP1 go1.14ppc64le Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14s390x Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14x86_64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14-docaarch64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14-docppc64le Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14-docs390x Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.14-docx86_64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP1 go1.15aarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15ppc64le Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15s390x Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15x86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-docaarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-docppc64le Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-docs390x Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-docx86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-raceaarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP1 go1.15-racex86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.14aarch64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14ppc64le Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14s390x Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14x86_64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14-docaarch64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14-docppc64le Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14-docs390x Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.14-docx86_64 Advisory build 1.14.14-1.32.1 SUSE-SU-2021:0222-1
SUSE / openSUSE SLE-15-SP2 go1.15aarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15ppc64le Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15s390x Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15x86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-docaarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-docppc64le Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-docs390x Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-docx86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-raceaarch64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE SLE-15-SP2 go1.15-racex86_64 Advisory build 1.15.7-1.17.1 SUSE-SU-2021:0223-1
SUSE / openSUSE openSUSE-Leap-15.1 go1.14x86_64 Advisory build 1.14.14-lp151.28.1 OPENSUSE-SU-2021:0190-1
SUSE / openSUSE openSUSE-Leap-15.1 go1.14-docx86_64 Advisory build 1.14.14-lp151.28.1 OPENSUSE-SU-2021:0190-1
SUSE / openSUSE openSUSE-Leap-15.1 go1.14-racex86_64 Advisory build 1.14.14-lp151.28.1 OPENSUSE-SU-2021:0190-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.14x86_64 Advisory build 1.14.14-lp152.2.18.1 OPENSUSE-SU-2021:0194-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.14-docx86_64 Advisory build 1.14.14-lp152.2.18.1 OPENSUSE-SU-2021:0194-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.14-racex86_64 Advisory build 1.14.14-lp152.2.18.1 OPENSUSE-SU-2021:0194-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.15x86_64 Advisory build 1.15.7-lp152.8.1 OPENSUSE-SU-2021:0192-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.15-docx86_64 Advisory build 1.15.7-lp152.8.1 OPENSUSE-SU-2021:0192-1
SUSE / openSUSE openSUSE-Leap-15.2 go1.15-racex86_64 Advisory build 1.15.7-lp152.8.1 OPENSUSE-SU-2021:0192-1
SUSE / openSUSE openSUSE-Tumbleweed go1.14aarch64 Advisory build 1.14.15-1.6 OPENSUSE-SU-2024:10807-1
SUSE / openSUSE openSUSE-Tumbleweed go1.14ppc64le Advisory build 1.14.15-1.6 OPENSUSE-SU-2024:10807-1
SUSE / openSUSE openSUSE-Tumbleweed go1.14s390x Advisory build 1.14.15-1.6 OPENSUSE-SU-2024:10807-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

26

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

5

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6cc8cc97d5e8904a3cc548e7f2605c668f2935ce6144ddc805110ca6d26ebdf9
Ingested
23 Sep 2026, 07:55:44 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected