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.
References
Link | Resource |
---|---|
https://github.com/square/git-fastclone/pull/2 | Patch Vendor Advisory |
https://hackerone.com/reports/104465 | Exploit Third Party Advisory |
http://www.securityfocus.com/bid/81433 | Third Party Advisory VDB Entry |
Configurations
Information
Published : 2016-11-03 03:59
Updated : 2020-06-10 06:24
NVD link : CVE-2015-8968
Mitre link : CVE-2015-8968
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
squareup
- git-fastclone