Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-3115: packages using cgo can cause arbitrary code execution at build time (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2021-3115: packages using cgo can cause arbitrary code execution at build time (Multiple Advisories)

Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
01/26/2021
Created
05/21/2021
Added
05/21/2021
Modified
12/15/2023

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

Solution(s)

  • redhat-upgrade-delve
  • redhat-upgrade-delve-debuginfo
  • redhat-upgrade-delve-debugsource
  • redhat-upgrade-go-toolset
  • redhat-upgrade-golang
  • redhat-upgrade-golang-bin
  • redhat-upgrade-golang-docs
  • redhat-upgrade-golang-misc
  • redhat-upgrade-golang-race
  • redhat-upgrade-golang-src
  • redhat-upgrade-golang-tests

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;