{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-45285",
        "ASSIGNER": "security@golang.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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)."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-636: Not Failing Securely ('Failing Open')"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Go toolchain",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "cmd/go",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "1.20.12"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.21.0-0",
                                            "version_value": "1.21.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ",
                "refsource": "MISC",
                "name": "https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ"
            },
            {
                "url": "https://go.dev/issue/63845",
                "refsource": "MISC",
                "name": "https://go.dev/issue/63845"
            },
            {
                "url": "https://go.dev/cl/540257",
                "refsource": "MISC",
                "name": "https://go.dev/cl/540257"
            },
            {
                "url": "https://pkg.go.dev/vuln/GO-2023-2383",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/vuln/GO-2023-2383"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "David Leadbeater"
        }
    ]
}