git-diff: OS command injection vulnerability via crafted strings to the gitDiff API
What to do
- Upgrade to a fixed version: git-diff 2.0.7.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
git-diff
- < 2.0.7
- 2.0.7
Check your project: npm ls git-diff --all
Is git-diff@2.0.7 safe to install? See the upgrade verdict →