GitHub Advisoryadvisory · npm

GHSA-62g9-6hw5-rwfp Path Traversal in resolve-path

HIGH Published 2018-07-18 Modified 2023-03-01 Official page ↗
Aliases
CVE-2018-3732
Ecosystem
npm
Packages
resolve-path
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 resolve-path: < 1.4.0 → fixed in 1.4.0

Description

Versions of `resolve-path` before 1.4.0 are vulnerable to path traversal. `resolve-path` relative path resolving suffers from a lack of file path sanitization for windows based paths. Recommendation Update to version 1.4.0 or later.

Related

Alias · CVE (1)

  • CVE-2018-3732 resolve-path node module before 1.4.0 suffers from a Path Traversal vulnerability due to lack of validation of paths with certain special… vulnerability

Weakness · CWE (1)

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

References