Skip to content

Path Traversal in resolve-path

High severity GitHub Reviewed Published Jul 18, 2018 to the GitHub Advisory Database • Updated Mar 1, 2023

Package

npm resolve-path (npm)

Affected versions

< 1.4.0

Patched versions

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.

References

Published by the National Vulnerability Database Jun 7, 2018
Published to the GitHub Advisory Database Jul 18, 2018
Reviewed Jun 16, 2020
Last updated Mar 1, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2018-3732

GHSA ID

GHSA-62g9-6hw5-rwfp

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.