Vulnerability · Published Jan 26, 2021 · Assigned by mitre

CVE-2021-3115

High 7.5

In plain English

A high-severity security flaw in the go package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.9% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)6.9%top 5.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20go1.15.7-r0ALPINE-CVE-2021-3115
Alpine:v3.21go1.15.7-r0ALPINE-CVE-2021-3115
Alpine:v3.22go1.15.7-r0ALPINE-CVE-2021-3115
Alpine:v3.23go1.15.7-r0ALPINE-CVE-2021-3115
Alpine:v3.24go1.15.7-r0ALPINE-CVE-2021-3115
Gotoolchain1.14.14, 1.15.7GO-2021-0068
Rocky Linux:8delve0:1.5.0-2.module+el8.4.0+396+d2d16ae3RLSA-2021:1746
Rocky Linux:8go-toolset0:1.15.7-1.module+el8.4.0+396+d2d16ae3RLSA-2021:1746
Rocky Linux:8golang0:1.15.7-1.module+el8.4.0+396+d2d16ae3RLSA-2021:1746

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References