Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-29402: The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | golang | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-bin | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-docs | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-misc | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-race | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-shared | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-src | 0:1.18.9-1.amzn2.0.6 |
| Amazon Linux · 2 | golang-tests | 0:1.18.9-1.amzn2.0.6 |
Vulnerabilities 1
-
Critical 9.8
Code injection via go command with cgo in cmd/go
The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in th…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2023-29402.html