ADVISORIES

Vulnerability

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).

52 advisories report this vulnerability, across 15 ecosystems.

Advisories in Ubuntu

  • UBUNTU-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…

    CVE-2023-29402 Ubuntu Updated 24 November 2026
  • USN-7061-1

    golang-1.17 vulnerabilities

    CVE-2023-24531CVE-2023-24538CVE-2023-29402CVE-2023-29403 Ubuntu Updated 24 November 2026
  • USN-7109-1

    golang-1.18 vulnerabilities

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24531 Ubuntu Updated 24 November 2026

References