GitHub Advisoryadvisory · npm
GHSA-84cm-v6jp-gjmr OS command injection in git-diff-apply
CRITICAL
Official page ↗
- Aliases
- CVE-2019-10776
- Ecosystem
- npm
- Packages
- git-diff-apply
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2020-02-13
Affected packages
• npm git-diff-apply: < 0.22.2 → fixed in 0.22.2
Description
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.
Related
Alias · CVE (1)
- CVE-2019-10776 In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness