@npmcli/git@1.0.1 vulnerabilities

a util for spawning git from npm CLI contexts

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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