CVE-2015-8968 json
git-fastclone permits arbitrary shell command execution from .gitmodules
published 2016-11-03 10 y ago modified 2026-06-17 4 mo ago also GHSA-8gg6-3r63-25m8 , EUVD-2018-0382
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.2%
- EPSS 5.2% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems git-fastclone 1.0.1
- squareup git-fastclone 1.0.1
- github.com/square/git-fastclone#2 pull request
Exploit prediction
5.20% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- hackerone.com https://hackerone.com/reports/104465 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | git-fastclone | <1.0.1 |
1.0.1 |
Affected products
- n/a git-fastclone ruby gem All versions before 1.0.1
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/square/git-fastclone/pull/2
web, patch, vendor-advisory
-
hackerone.com
/reports/104465
web, exploit, third-party-advisory
-
securityfocus.com
/bid/81433
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-8968
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/git-fastclone/CVE-2015-8968.yml
web
-
github.com
/square/git-fastclone
package
-
web.archive.org
/web/20200227213019/http://www.securityfocus.com/bid/81433
web
Sources
- CVE List CVE-2015-8968
- GitHub Advisory GHSA-8gg6-3r63-25m8
- NVD CVE-2015-8968
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.