{"schema_version":"1.9.0","id":"BIT-golang-2023-45285","published":"2024-03-06T10:52:37.296Z","modified":"2026-09-08T08:47:49.252462494Z","aliases":["CVE-2023-45285","GO-2023-2383"],"summary":"Command 'go get' may unexpectedly fallback to insecure git in cmd/go","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.12"},{"introduced":"1.21.0-0"},{"fixed":"1.21.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2023-45285.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}],"references":[{"type":"FIX","url":"https://go.dev/cl/540257"},{"type":"ADVISORY","url":"https://go.dev/issue/63845"},{"type":"ADVISORY","url":"https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-2383"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45285"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}