Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fs-path
  4. ›
  5. CVE-2020-8298

CVE-2020-8298: Command Injection

March 4, 2021 (updated March 9, 2021)

fs-path node module is vulnerable to command injection by way of user-supplied inputs via the copy, copySync, remove, and removeSync methods.

References

  • hackerone.com/reports/324491
  • nvd.nist.gov/vuln/detail/CVE-2020-8298

Code Behaviors & Features

Detect and mitigate CVE-2020-8298 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.25

Fixed versions

  • 0.0.25

Solution

Upgrade to version 0.0.25 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/fs-path/CVE-2020-8298.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.