Skip to content
Not rated

CVE-2023-45285 Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the…

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

Affected products and versions

Product Affected versions Fixed in
cmd/go 1.21 1.21.0-0 → < 1.21.5 1.21.5
cmd/go 1.20 earliest → < 1.20.12 1.20.12

References

Timeline

  1. Published
  2. Last modified
The 23 CVEs of cmd/go →
Track this CVE