{"id":"CVE-2023-45285","aliases":["CVE-2023-45285","GO-2023-2383","BIT-GOLANG-2023-45285"],"related":["CGA-fxmm-m535-wqj5","RHSA-2024:0887","RHSA-2024:1041","RHSA-2024:1131"],"kind":"vulnerability","state":"published","title":"Command 'go get' may unexpectedly fallback to insecure git in cmd/go","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"El uso de go get para buscar un módulo con el sufijo \".git\" puede recurrir inesperadamente al protocolo inseguro \"git://\" si el módulo no está disponible a través de \"https://\" y \"git+ssh://\" seguros, protocolos, incluso si GOINSECURE no está configurado para dicho módulo. Esto sólo afecta a los usuarios que no utilizan el proxy del módulo y están obteniendo módulos directamente (es decir, GOPROXY = desactivado).","source":"nvd"}],"published":"2023-12-06T16:22:51.000Z","modified":"2026-09-08T08:47:49.252Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-636"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.20.12","status":"affected"},{"type":"semver","introduced":"1.21.0-0","fixed":"1.21.5","status":"affected"}],"vendor":"Go toolchain","product":"cmd/go","package":"cmd/go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.12"},{"type":"semver","introduced":"1.21.0-0","status":"affected","fixed":"1.21.5"}],"ecosystem":"Go","package":"toolchain","purl":"pkg:golang/toolchain","source":"go"},{"ranges":[{"status":"affected","fixed":"1.20.12"},{"status":"affected","introduced":"1.21.0-0","fixed":"1.21.5"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.20.12"},{"type":"semver","introduced":"1.21.0-0","status":"affected","fixed":"1.21.5"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/63845","tags":["advisory","issue-tracking","report","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/540257","tags":["fix","patch","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2023-2383","tags":["advisory","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45285","tags":["web"],"sources":["bitnami"]}],"credits":["David Leadbeater"],"assigner":"Go","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45285","url":"https://www.cve.org/CVERecord?id=CVE-2023-45285","licence":"CVE Terms of Use","modified":"2025-02-13T17:14:00.033Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-2383","url":"https://pkg.go.dev/vuln/GO-2023-2383","licence":"CC-BY-4.0","modified":"2026-02-04T02:22:56.854Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45285","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45285","licence":"Public domain","modified":"2026-06-17T06:28:35.207Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2023-45285","url":"https://osv.dev/vulnerability/BIT-GOLANG-2023-45285","licence":"Apache-2.0","modified":"2026-09-08T08:47:49.252Z"}],"updatedAt":"2026-11-25T22:58:31.084Z","epss":{"score":0.01137,"percentile":0.67509,"date":"2026-12-02T12:00:21.000Z"}}