CVE-2021-3115

high

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://security.netapp.com/advisory/ntap-20210219-0001/

https://security.gentoo.org/glsa/202208-02

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YWAYJGXWC232SG3UR3TR574E6BP3OSQQ/

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

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

Details

Source: Mitre, NVD

Published: 2021-01-26

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 5.1

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

Severity: Medium

CVSS v3

Base Score: 7.5

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

Severity: High