ADVISORIES

Vulnerability

CVE-2023-29404

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

53 advisories report this vulnerability, across 15 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2023-2163

    Amazon Linux 2 2017.12 - ALAS2-2023-2163: important priority package update for golang

    Important CVE-2022-41724CVE-2022-41725CVE-2023-24532CVE-2023-24536 Amazon Linux Updated 25 July 2023
  • ALAS2023-2023-269

    Amazon Linux 2023 - ALAS2023-2023-269: Important priority package update for golang

    Important CVE-2023-29402CVE-2023-29403CVE-2023-29404CVE-2023-29405 Amazon Linux Updated 26 July 2023

References