CVE-2020-8298 in the critical feed json
Command injection in fs-path
published 5y ago modified 4mo ago also GHSA-8mrf-64fw-2x75 , EUVD-2021-0634
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 11.2%
- EPSS 11.2% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
fs-path node module before 0.0.25 is vulnerable to command injection by way of user-supplied inputs via the `copy`, `copySync`, `remove`, and `removeSync` methods.
Patch / fix
- npm fs-path 0.0.25
- fs-path_project fs-path 0.0.25
- github.com/pillys/fs-path@88ff5ee commit
- github.com/pillys/fs-path#6 pull request
- hackerone.com/reports/324491 advisory
Is CVE-2020-8298 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
11.17% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/pillys/fs-path/pull/6 referenced PoC, tagged "exploit" by a source, unverified
- hackerone.com https://hackerone.com/reports/324491 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | fs-path | <0.0.25 |
0.0.25 |
Affected products
- n/a fs-path
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/pillys/fs-path/pull/6
web, exploit, patch, third-party-advisory
-
github.com
/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7
web, patch, third-party-advisory
-
hackerone.com
/reports/324491
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-8298
advisory
Sources
- CVE List CVE-2020-8298
- GitHub Advisory GHSA-8mrf-64fw-2x75
- NVD CVE-2020-8298
Fencer Intel 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.