Amazon Linux Security Advisory
ALAS2-2021-1609
Amazon Linux 2 2017.12 - ALAS2-2021-1609: medium priority package update for golang
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-3115: 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). 1918761: CVE-2021-3115 golang: cmd/go: packages using cgo can cause arbitrary code execution at build time
CVE-2021-3114: In Go before 1.14.14 and 1.15.x before 1.15.7, crypto/elliptic/p224.go can generate incorrect outputs, related to an underflow of the lowest limb during the final complete reduction in the P-224 field. 1918750: CVE-2021-3114 golang: crypto/elliptic: incorrect operations on the P-224 curve
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | golang | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-bin | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-docs | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-misc | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-race | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-src | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |
| Amazon Linux:2 | golang-tests | All versions before 1.15.8-1.amzn2.0.1 (fixed in 1.15.8-1.amzn2.0.1) |