CVE-2023-39323: Arbitrary code execution during build via line directives in cmd/go
Go toolchain · cmd/go
Vendor fix available · Affected: Go toolchain cmd/go · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 80% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Go toolchain · cmd/gobefore 1.20.9; from 1.21.0-0 before 1.21.2
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Go toolchain
- Published
- October 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2023-39323 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- go.dev/issue/63211go.dev
- go.dev/cl/533215go.dev
- groups.google.com/g/golang-announce/c/XBa1oHDevAogroups.google.com
- pkg.go.dev/vuln/GO-2023-2095pkg.go.dev
- security.netapp.com/advisory/ntap-20231020-0001security.netapp.com
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- lists.fedoraproject.org/archives/list/package-announce@lists.fedlists.fedoraproject.org
- security.gentoo.org/glsa/202311-09security.gentoo.org