CVE-2017-1000451 json
fs-git command injection vulnerability
published 2018-01-02 8 y ago modified 2026-06-17 4 mo ago also GHSA-wp3j-gv53-4pg8 , EUVD-2022-5610
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
fs-git is a file system like api for git repository. The fs-git version 1.0.1 module relies on child_process.exec, however, the buildCommand method used to construct exec strings does not properly sanitize data and is vulnerable to command injection across all methods that use it and call exec.
Patch / fix
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | fs-git | <1.0.2 |
1.0.2 |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
nodesecurity.io
/advisories/360
web, issue-tracking, patch, third-party-advisory
-
github.com
/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000451
advisory
Sources
- CVE List CVE-2017-1000451
- GitHub Advisory GHSA-wp3j-gv53-4pg8
- NVD CVE-2017-1000451
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.