CVE-2015-8968: git-fastclone permits arbitrary shell command execution from .gitmodules
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.85617%
CWE
Published
8/15/2018
Updated
8/29/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
git-fastclone | rubygems | < 1.0.1 | 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of submodule URLs that use the 'ext' protocol, which allows arbitrary command execution. The patch in version 1.0.1 introduced protocol restrictions via GIT_ALLOW_PROTOCOL, indicating the vulnerable code was responsible for invoking git commands without these safeguards. The attack vector specifically involves submodule processing during recursive clones, pointing to the submodule handling logic as the vulnerable component.