CVE Database
/

CVE-2023-45285

Back to search

CVE-2023-45285

Published: Dec 6, 2023

Modified: Feb 13, 2025

PUBLISHED

Description

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).

VendorProductVersions

Go toolchain

cmd/go

affected
0 - < 1.20.12
affected
1.21.0-0 - < 1.21.5

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now