GitHub Advisory Database
GHSA-84cm-v6jp-gjmr
OS command injection in git-diff-apply
Details
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 versions |
|---|---|---|
| npm | git-diff-apply | All versions before 0.22.2 (fixed in 0.22.2) |