Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. public
  4. ›
  5. CVE-2018-3731

CVE-2018-3731: Path Traversal

June 7, 2018 (updated October 9, 2019)

public node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-3731

Code Behaviors & Features

Detect and mitigate CVE-2018-3731 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

Version 0.1.2

Fixed versions

  • 0.1.3

Solution

Ugrade to version 0.1.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/public/CVE-2018-3731.yml

Spotted a mistake? Edit the file on GitLab.

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

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