{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-45285",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2023-10-06T17:06:26.220Z",
        "datePublished": "2023-12-06T16:27:55.521Z",
        "dateUpdated": "2024-08-02T20:21:15.349Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2023-12-06T16:27:55.521Z"
            },
            "title": "Command 'go get' may unexpectedly fallback to insecure git in cmd/go",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": [
                {
                    "vendor": "Go toolchain",
                    "product": "cmd/go",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "cmd/go",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.20.12",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.21.0-0",
                            "lessThan": "1.21.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-636: Not Failing Securely ('Failing Open')"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ"
                },
                {
                    "url": "https://go.dev/issue/63845"
                },
                {
                    "url": "https://go.dev/cl/540257"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2023-2383"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "David Leadbeater"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T20:21:15.349Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.dev/issue/63845",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.dev/cl/540257",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pkg.go.dev/vuln/GO-2023-2383",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}