Lucene search

K
vulnrichmentGoVULNRICHMENT:CVE-2023-39320
HistorySep 08, 2023 - 4:13 p.m.

CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go

2023-09-0816:13:26
Go
github.com
arbitrary code execution
go.mod toolchain
cmd/go
go 1.21
module proxy
vcs software

AI Score

7.1

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

total

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.

AI Score

7.1

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

total