VDB
Sign up
—

GO-2023-2383

Command 'go get' may unexpectedly fallback to insecure git in cmd/go

Quick fix

GO-2023-2383 — toolchain: upgrade to the fixed version with the command below.

go get toolchain@v1.20.12

Details

Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/toolchain
Introduced in: 0Fixed in: 1.20.12
Fixgo get toolchain@v1.20.12

References