toolchain
Affected
- introduced
1.21.0-0, fixed1.21.1(semver)
Fixed versions
1.21.1
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-golang-2023-39320, CVE-2023-39320
Arbitrary code execution via go.mod toolchain directive in cmd/go
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.
Not rated by the source.
1.21.0-0, fixed 1.21.1 (semver)1.21.1
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0