Skip to content
OpenAdvisories
High · 8.8 CVE-2015-8968 EUVD-2018-0382GHSA-8gg6-3r63-25m8

git-fastclone permits arbitrary shell command execution from .gitmodules

Published Nov 3, 2016 · Updated Aug 6, 2024 · Assigned by hackerone

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

VendorProductAffectedFixed
— git-fastclone ruby gem All versions before 1.0.1 git-fastclone ruby gem All versions before 1.0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems git-fastclone < 1.0.1 1.0.1 GHSA-8gg6-3r63-25m8

References