The go.mod toolchain directive, introduced in Go 1.21,...
Critical severity
Unreviewed
Published
Sep 8, 2023
to the GitHub Advisory Database
•
Updated Dec 4, 2023
Description
Published by the National Vulnerability Database
Sep 8, 2023
Published to the GitHub Advisory Database
Sep 8, 2023
Last updated
Dec 4, 2023
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.
References