CVE-2023-45285
HIGH 7.5CVSS 3.1Command '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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.20.12 | 1.20.12 |
| NVD | golang | gocpe: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
- https://go.dev/cl/540257 · Patch, FIX
- https://go.dev/issue/63845 · Issue Tracking, Vendor Advisory, REPORT
- https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ · Mailing List, Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/
- https://pkg.go.dev/vuln/GO-2023-2383 · Patch, Vendor Advisory
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)