GHSA-69p6-wvmq-27gg

    Dashboard / Vulnerabilities / GHSA-69p6-wvmq-27gg

    GHSA-69p6-wvmq-27gg

    Published: 20 Apr 2022Last Modified: 8 Jul 2026

    Summary: Command injection in ruby-git

    Details: The package prior to v1.11.0 is vulnerable to Command Injection via git argument injection. When calling the `fetch(remote = 'origin', opts = {})` function, the remote parameter is passed to the `git fetch` subcommand in a way such that additional flags can be set. The additional flags can be used to perform a command injection.

    Affected packages

    Package

    Name: git

    Purl: pkg:gem/git

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.11.0

    Affected versions

    1.0.1
    1.0.2
    1.0.3
    1.0.4
    1.0.5

    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
    GHSA-69p6-wvmq-27gg | CVE-DB