Security mailing lists by PureSourceCode

CVE-2023-45285

HIGH 7.5CVSS 3.1

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

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

Published
6 Dec 2023
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Also known as
BIT-golang-2023-45285GO-2023-2383
Sources
NVDJSONOSV GO-2023-2383JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.20.12 1.20.12
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.21.0-0, < 1.21.5 1.21.5
OSV Go toolchain < 1.20.12; >= 1.21.0-0, < 1.21.5 1.20.12, 1.21.5

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 6 Dec 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Dec 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.