Skip to content

CVE-2015-8968 git-fastclone permits arbitrary shell command execution from .gitmodules

HighCVSS 8.8 EPSS 5.2% PoC
Published
Updated
Exploit status
Proof-of-concept only

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.

Affected products

ProductAffected versionsFixed in
rubygems git-fastclone(RubyGems) < 1.0.1 1.0.1
rubygems git-fastclone(RubyGems) = 0.0.0 No fix listed
rubygems git-fastclone(RubyGems) = 0.0.1 No fix listed
rubygems git-fastclone(RubyGems) = 0.0.3 No fix listed
rubygems git-fastclone(RubyGems) = 1.0.0 No fix listed
squareup git-fastclone < 1.0.1 1.0.1

References