Arbitrary Command Injection Affecting fs-git package, versions <1.0.2


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.04% (12th percentile)
Expand this section
NVD
7.8 high

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 npm:fs-git:20170601
  • published 30 Aug 2017
  • disclosed 31 May 2017
  • credit micaksica

How to fix?

Upgrade fs-git to version 1.0.2 or higher.

Overview

fs-git is fs module like api for a git repository.

Affected versions of the package are vulnerable to Arbitrary Command Injection due to insecurely using the exec() function without sanitizing the data input by a user.

References