Red Hat VEX
RHVEX-CVE-2021-3115
golang: cmd/go: packages using cgo can cause arbitrary code execution at build time
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | golang | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-bin | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-misc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-src | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-tests | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | go-toolset | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-bin | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-docs | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-misc | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-race | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-src | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | golang-tests | All versions, no fix yet |