CVE-2023-39320 (published 2023-09-08T16:13:26.609Z)
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.
Affected products: Vendor: Go toolchain
Product: cmd/go
Versions: 1.21.0-0