GHSA-h42j-mrmp-9369

    Dashboard / Vulnerabilities / GHSA-h42j-mrmp-9369

    GHSA-h42j-mrmp-9369

    Published: 28 Jun 2023Last Modified: 30 Oct 2024

    Summary: git-commit-info vulnerable to Command Injection

    Details: Versions of the package git-commit-info before 2.0.2 are vulnerable to Command Injection such that the package-exported method gitCommitInfo() fails to sanitize its parameter commit, which later flows into a sensitive command execution API. As a result, attackers may inject arguments to the git binary.

    Affected packages

    Package

    Name: git-commit-info

    Purl: pkg:npm/git-commit-info

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.0.2

    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
    GHSA-h42j-mrmp-9369 | CVE-DB