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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.77% (51st 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 IDnpm:fs-git:20170601
  • published30 Aug 2017
  • disclosed31 May 2017
  • creditmicaksica

Introduced: 31 May 2017

CVE-2017-1000451  (opens in a new tab)
CVE-2017-16087  (opens in a new tab)
CWE-77  (opens in a new tab)

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

CVSS Base Scores

version 3.1