Vulnerability Description
The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly using VCS software.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | >= 1.21.0, < 1.21.1 |
Related Weaknesses (CWE)
References
- https://go.dev/cl/526158Patch
- https://go.dev/issue/62198Issue Tracking
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJRelease Notes
- https://pkg.go.dev/vuln/GO-2023-2042Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20231020-0004/Third Party Advisory
- https://go.dev/cl/526158Patch
- https://go.dev/issue/62198Issue Tracking
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJRelease Notes
- https://pkg.go.dev/vuln/GO-2023-2042Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20231020-0004/Third Party Advisory
FAQ
What is CVE-2023-39320?
CVE-2023-39320 is a vulnerability with a CVSS score of 9.8 (CRITICAL). The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This ap...
How severe is CVE-2023-39320?
CVE-2023-39320 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-39320?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.