{"id":"CVE-2015-8968","published":"2016-11-03T10:00:00Z","modified":"2024-08-06T08:36:30Z","title":"git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05198,"percentile":0.92672,"provenance":"source"},"cwes":[],"references":[{"url":"https://hackerone.com/reports/104465","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/81433","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/square/git-fastclone/pull/2","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.53}]},"affectedVersions":[{"vendor":"n/a","product":"git-fastclone ruby gem All versions before 1.0.1","versions":["git-fastclone ruby gem All versions before 1.0.1"]}],"affected":[{"ecosystem":"RubyGems","package":"git-fastclone","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-8gg6-3r63-25m8"],"provenance":"source"}],"summary":{"text":"The flaw is in git-fastclone before version 1.0.1, where the handling of the .gitmodules file permits arbitrary shell command execution through the ext command, which runs during recursive clones or submodule updates. An attacker who can get a user to run a recursive clone of a repository the attacker controls, or who can intercept an unencrypted git clone in a man-in-the-middle position, can cause the client to execute an arbitrary shell command, and this works for both local and remote repositories.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:08:51Z"},"euvd":{"id":"EUVD-2018-0382","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-8968","published":"2016-11-03","fixed":"1.0.1","kev":false},{"cve":"CVE-2015-8969","published":"2016-11-03","fixed":"1.0.5","kev":false,"link":{"from":"CVE-2015-8968","to":"CVE-2015-8969","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:git-fastclone","fromFixed":"1.0.1","toFixed":"1.0.5","daysApart":0},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same package + description similarity"}]}}],"package":"RubyGems:git-fastclone"}}