GO-2022-0414

    Dashboard / Vulnerabilities / GO-2022-0414

    GO-2022-0414

    Published: 1 Jul 2022Last Modified: 16 Mar 2026

    Summary: Command injection in github.com/Masterminds/vcs

    Details: Passing untrusted inputs to VCS functions can permit an attacker to execute arbitrary commands. The vcs package executes version control commands with user-provided arguments. These arguments can be interpreted as command-line flags, which can be used to perform command injection.

    Affected packages

    Package

    Name: github.com/Masterminds/vcs

    Purl: pkg:golang/github.com/Masterminds/vcs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.13.3

    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-2022-0414 | CVE-DB