CVE-2023-45285

    Dashboard / Vulnerabilities / CVE-2023-45285

    CVE-2023-45285

    Published: 6 Dec 2023Last Modified: 12 Aug 2026

    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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    go1.20.11
    go1.20.10
    go1.20.9
    go1.20.8
    go1.20.7
    go1.20.6
    go1.20.5
    go1.20.4
    go1.20.3
    go1.20.2
    go1.20.1
    go1.20

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-45285 | CVE-DB