ADVISORIES

Vulnerability

CVE-2023-39323

Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.

56 advisories report this vulnerability, across 12 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2023-39323

    Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of…

    CVE-2023-39323 Ubuntu Updated 24 November 2026
  • USN-6574-1

    Go vulnerabilities

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39323CVE-2023-39325 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
  • USN-7111-1

    golang-1.17 vulnerabilities

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

References