Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | git-fastclone ruby gem All versions before 1.0.1 | git-fastclone ruby gem All versions before 1.0.1 |
References
- http://www.securityfocus.com/bid/81433Third Party Advisory, VDB Entry
- https://github.com/square/git-fastclone/pull/2Patch, Vendor Advisory
- https://hackerone.com/reports/104465Exploit, Third Party Advisory
- http://www.securityfocus.com/bid/81433Third Party Advisory, VDB Entry
- https://github.com/square/git-fastclone/pull/2Patch, Vendor Advisory
- https://hackerone.com/reports/104465Exploit, Third Party Advisory
Timeline
- Published
- Nov 3, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified