Live threats

All CVEs / Git-diff-apply Project

CVE-2019-10776Git-diff-apply Project Git-diff-apply

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Git-diff-apply.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
git-diff-apply_projectgit-diff-apply< 0.22.2

Official sources

References

Links published by the sources. Open them with care.