critical9.8
CVE-2019-10776
OS command injection in git-diff-apply
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | git-diff-apply | <= 0.22.1 | 0.22.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Git-Diff-Apply Project | Git-Diff-Apply | before 0.22.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5
- https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774%2C
- https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774
- https://github.com/advisories/GHSA-84cm-v6jp-gjmr
- https://nvd.nist.gov/vuln/detail/CVE-2019-10776
- https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774,