RCE in Git-Diff-Apply Project
CVE-2019-10776
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.021 · 82.5th percentile
- Published
- 2020-01-07
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.021, 82.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Git-Diff-Apply Project
- Git-Diff-Apply — versions All versions prior to version 0.22.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ossf-cve-benchmark/CVE-2019-10776). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a… (Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774,
- snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774 (Exploit, Patch, Third Party Advisory)