HIGH 8.8 RubyGems
git-fastclone permits arbitrary shell command execution from .gitmodules
GHSA-8gg6-3r63-25m8 · CVE-2015-8968
Published · Modified
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2015-8968
- WEB https://github.com/square/git-fastclone/pull/2
- WEB https://hackerone.com/reports/104465
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/git-fastclone/CVE-2015-8968.yml
- PACKAGE https://github.com/square/git-fastclone
- WEB https://web.archive.org/web/20200227213019/http://www.securityfocus.com/bid/81433
Ready to move
Start Securing
Free, no credit card | First findings in minutes