RCE in Squareup Git-Fastclone
CVE-2015-8968
git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules. If an attacker can instruct a user to run a recursive clone from a repository they control, they can get a client to run an arbitrary shell command. Alternately, if an attacker can MITM an unencrypted git clone, they could exploit this. The ext command will be run if the repository is recursively cloned or if submodules are updated. This attack works when cloning both local and remote repositories.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.052 (91.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Squareup Git-fastclone
- N/a Git-fastclone Ruby Gem All Versions Before 1.0.1 — versions git-fastclone ruby gem All versions before 1.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support@hackerone.com (Exploit, Third Party Advisory, x_refsource_MISC)
- support@hackerone.com (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
- support@hackerone.com (Patch, x_refsource_MISC, Vendor Advisory)
Frequently asked questions
- What is CVE-2015-8968?
- CVE-2015-8968 is a high-severity vulnerability in Squareup Git-Fastclone, classified under Command Injection. CVSS score: 8.8/10. Published 2016-11-03.
- How severe is CVE-2015-8968?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2015-8968 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.