RCE in Git-Diff-Apply Project

CVE-2019-10776

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.021 (80.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-10776?
CVE-2019-10776 is a critical-severity vulnerability in Git-Diff-Apply Project, classified under OS Command Injection. CVSS score: 9.8/10. Published 2020-01-07.
How severe is CVE-2019-10776?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2019-10776 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.