All CVEs / Git-diff-apply Project
CVE-2019-10776Git-diff-apply Project Git-diff-apply
Critical 9.8 No auth needed
Follow: this CVE · Git-diff-apply Project · Git-diff-apply Project Git-diff-apply We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jan 7, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Git-diff-apply.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | git-diff-apply |
< 0.22.2 |
0.22.2 |
npm install git-diff-apply@0.22.2 |
Per OSV / GitHub Advisories (GHSA-84cm-v6jp-gjmr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| git-diff-apply_project | git-diff-apply | < 0.22.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- snyk.io
- snyk.io Exploit Patch Third Party Advisory