CVE-2018-7187

    Dashboard / Vulnerabilities / CVE-2018-7187

    CVE-2018-7187

    Published: 16 Feb 2018Last Modified: 8 Jul 2026

    Summary:

    Details: The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    go1.9.4
    go1.9.3
    go1.9.2
    go1.9.1
    go1.9

    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-2018-7187 | CVE-DB