GitHub Advisoryadvisory · npm

GHSA-rwv8-jvff-jq28 Path Traversal in public

HIGH Published 2018-07-18 Modified 2023-01-31 Official page ↗
Aliases
CVE-2018-3731
Ecosystem
npm
Packages
public
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2020-06-16

Affected packages

• npm public: < 0.1.3 → fixed in 0.1.3

Description

Versions of `public` before 0.1.3 are vulnerable to path traversal. This is due to lack of file path sanitization which could lead to any file the parent process has access to on the server to be read by malicious user. Recommendation Update to version 0.1.3 or later.

Related

Alias · CVE (1)

  • CVE-2018-3731 public node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References