CVE-2023-39323

unknown
Published 2023-10-05 · Modified 2026-02-04
CVSS v3
CVSS v2
VIR risk

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-39323

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-39323.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbullseyeaffected
debian debianbookwormaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gotoolchain>=1.21.0-0,<1.21.21.20.9

References

Verify integrity in audit chain (admin only). AS-IS.