QID 355578

Date Published: 2023-07-24

QID 355578: Amazon Linux Security Advisory for golang : ALAS2-2023-2131

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). (
( CVE-2023-29402)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2131 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355578

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2131 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2131.html