Arbitrary Command Execution Affecting git-fastclone package, versions <1.0.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.65% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-GITFASTCLONE-20352
  • published28 Mar 2017
  • disclosed15 Dec 2015
  • creditBlake Burkhart

Introduced: 15 Dec 2015

CVE-2015-8969  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade to version 1.0.5 or greater.

Overview

git-fastclone is a git command that uses reference repositories and threading to quickly and recursively clone repositories with many nested submodules.

Details

git-fastclone before 1.0.5 passes user modifiable strings directly to a shell command. An attacker can execute malicious commands by modifying the strings that are passed as arguments to cd and git clone commands in the library.

CVSS Scores

version 3.1