@npmcli/git@1.0.1 vulnerabilities

a util for spawning git from npm CLI contexts

  • latest version

    6.0.3

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    4 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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