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


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 3.38% (92nd percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-RUBY-GITFASTCLONE-20352
  • published 28 Mar 2017
  • disclosed 15 Dec 2015
  • credit Blake Burkhart

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.