ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-3115

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

Moderate No fix available CVE-2021-3115

Details

A flaw was found in golang: cmd/go, in which Go can execute arbitrary commands at build time when cgo is in use on Windows OS. On Linux/Unix, only users who have "." listed explicitly in their PATH variable are affected. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7golang
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-bin
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-misc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-src
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-tests
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9go-toolset
All versions, no fix yet
Red Hat:enterprise_linux:9golang
All versions, no fix yet
Red Hat:enterprise_linux:9golang-bin
All versions, no fix yet
Red Hat:enterprise_linux:9golang-docs
All versions, no fix yet
Red Hat:enterprise_linux:9golang-misc
All versions, no fix yet
Red Hat:enterprise_linux:9golang-race
All versions, no fix yet
Red Hat:enterprise_linux:9golang-src
All versions, no fix yet
Red Hat:enterprise_linux:9golang-tests
All versions, no fix yet

References