@npmcli/git@2.0.7 vulnerabilities

a util for spawning git from npm CLI contexts

  • latest version

    7.0.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @npmcli/git package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Command Injection

    @npmcli/git is an A utility for spawning git from npm CLI contexts.

    Affected versions of this package are vulnerable to Command Injection due to improper argument sanitization when npmcli/git is used to execute Git commands based on user controlled input.

    How to fix Command Injection?

    Upgrade @npmcli/git to version 2.0.8 or higher.

    <2.0.8