Loading...
Skip to main content

CVE-2015-8968 — Vulnerability in git-fastclone — CVE Details

HIGH

git-fastclone permits arbitrary shell command execution from .gitmodules

Published August 15, 2018Updated February 16, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published August 15, 2018 (2980 days ago).
  • Last revised February 16, 2024 — 2011 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update git-fastclone to 1.0.1 or later
gem install git-fastclone -v 1.0.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
git-fastclone
rubygems
0.0.0, 0.0.1, 0.0.3, 1.0.01.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2015-8968?
git-fastclone permits arbitrary shell command execution from .gitmodules This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2015-8968?
CVE-2015-8968 affects git-fastclone. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-8968 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-8gg6-3r63-25m8

Related CVEs

  • CVE-2015-8969
    CRITICAL

    Git-fastclone passes user modifiable strings directly to a shell command

  • CVE-2026-94462
    HIGH

    Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies