CVE-2021-3115

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

References

https://blog.golang.org/path-security

https://groups.google.com/g/golang-announce/c/mperVMGa98w

https://lists.fedoraproject.org/archives/list/[email protected]/message/YWAYJGXWC232SG3UR3TR574E6BP3OSQQ/

https://security.netapp.com/advisory/ntap-20210219-0001/

Details

Source: MITRE

Published: 2021-01-26

Updated: 2021-02-24

Type: CWE-94

Risk Information

CVSS v2

Base Score: 5.1

Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 4.9

Severity: MEDIUM

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.6

Severity: HIGH

Tenable Plugins

View all (12 total)

IDNameProductFamilySeverity
150031CentOS 8 : go-toolset:rhel8 (CESA-2021:1746)NessusCentOS Local Security Checks
medium
149924Oracle Linux 8 : go-toolset:ol8 (ELSA-2021-1746)NessusOracle Linux Local Security Checks
medium
149662RHEL 8 : go-toolset:rhel8 (RHSA-2021:1746)NessusRed Hat Local Security Checks
medium
146875Photon OS 3.0: Go PHSA-2021-3.0-0200NessusPhotonOS Local Security Checks
high
146635Amazon Linux 2 : golang (ALAS-2021-1609)NessusAmazon Linux Local Security Checks
medium
146281Fedora 33 : golang (2021-e435a8bb88)NessusFedora Local Security Checks
medium
145735openSUSE Security Update : go1.14 (openSUSE-2021-190)NessusSuSE Local Security Checks
medium
145720openSUSE Security Update : go1.14 (openSUSE-2021-194)NessusSuSE Local Security Checks
medium
145710openSUSE Security Update : go1.15 (openSUSE-2021-192)NessusSuSE Local Security Checks
medium
145476SUSE SLED15 / SLES15 Security Update : go1.14 (SUSE-SU-2021:0222-1)NessusSuSE Local Security Checks
medium
145470SUSE SLED15 / SLES15 Security Update : go1.15 (SUSE-SU-2021:0223-1)NessusSuSE Local Security Checks
medium
145095FreeBSD : go -- cmd/go: packages using cgo can cause arbitrary code execution at build time; crypto/elliptic: incorrect operations on the P-224 curve (6a4805d5-5aaf-11eb-a21d-79f5bc5ef6a9)NessusFreeBSD Local Security Checks
medium