GitHub Advisoryadvisory · RubyGems
GHSA-8gg6-3r63-25m8 git-fastclone permits arbitrary shell command execution from .gitmodules
HIGH
Official page ↗
- Aliases
- CVE-2015-8968
- Ecosystem
- RubyGems
- Packages
- git-fastclone
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2020-06-16
Affected packages
• RubyGems git-fastclone: < 1.0.1 → fixed in 1.0.1
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.
Related
Alias · CVE (1)
- CVE-2015-8968 git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8968 advisory
- 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 web
- https://github.com/square/git-fastclone package
- https://web.archive.org/web/20200227213019/http://www.securityfocus.com/bid/81433 web