CVE-2023-39320

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductToolchain
PublishedSep 8, 2023
First seenSep 8, 2023

How to fix

Update
  • toolchain1.21.1 or later
  • golang go1.21.1 or later

Affected products

ProductAffected versionsFixed in
toolchainGo1.21.0-0 ≤ v < 1.21.11.21.1
golang go1.21.0 ≤ v < 1.21.11.21.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.