GO-2021-0068

    Dashboard / Vulnerabilities / GO-2021-0068

    GO-2021-0068

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Arbitrary code injection via the go command with cgo on Windows in cmd/go

    Details: The go command may execute arbitrary code at build time when using cgo on Windows. This can be triggered by running go get on a malicious module, or any other time the code is built.

    Affected packages

    Package

    Name: toolchain

    Purl: pkg:golang/toolchain

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.14.14

    Affected versions

    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
    GO-2021-0068 | CVE-DB