VDB
Sign up
—

GO-2021-0068

Arbitrary code injection via the go command with cgo on Windows in cmd/go

Quick fix

GO-2021-0068 — toolchain: upgrade to the fixed version with the command below.

go get toolchain@v1.14.14

Details

The go command may execute arbitrary code at build time when using cgo on Windows. This can be triggered by running go get on a malicious module, or any other time the code is built.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/toolchain
Introduced in: 0Fixed in: 1.14.14
Fixgo get toolchain@v1.14.14

References