Vulnerabilities · 2023 · Golang
CVE-2023-45285
Golang Go vulnerability
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
Go. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- go.dev/issue/63845 · Vendor Advisory
- groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ · Vendor Advisory
- pkg.go.dev/vuln/GO-2023-2383 · Patch
- go.dev/cl/540257 · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/UIU
- nvd.nist.gov/vuln/detail/CVE-2023-45285
- cve.org/CVERecord?id=CVE-2023-45285
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.