Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThnZzYtM3I2My0yNW04

git-fastclone permits arbitrary shell command execution from .gitmodules

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.

Permalink: https://github.com/advisories/GHSA-8gg6-3r63-25m8
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThnZzYtM3I2My0yNW04
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: about 1 year ago


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

Identifiers: GHSA-8gg6-3r63-25m8, CVE-2015-8968
References: Repository: https://github.com/square/git-fastclone
Blast Radius: 0.0

Affected Packages

rubygems:git-fastclone
Dependent packages: 0
Dependent repositories: 1
Downloads: 65,292 total
Affected Version Ranges: < 1.0.1
Fixed in: 1.0.1
All affected versions: 0.0.0, 0.0.1, 0.0.3, 1.0.0
All unaffected versions: 1.0.1, 1.0.3, 1.0.4, 1.0.6, 1.0.8, 1.0.9, 1.0.11, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.5, 1.2.6, 1.2.7, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1