Critical, CVSS 9.8npmAmendedPublished
OS command injection in git-diff-apply
CVE-2019-10776 · GHSA-84cm-v6jp-gjmr
- Affected
- npm git-diff-apply <= 0.22.1
- Fixed in
- 0.22.2· Vendor fix available
- Issue
- In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.
Recommended action: Upgrade to 0.22.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.