7.5high

CVE-2018-3732

Path Traversal in resolve-path

Also known as GHSA-62g9-6hw5-rwfp

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.4%
percentile 84%
Public exploits
0
none known

Summary

resolve-path node module before 1.4.0 suffers from a Path Traversal vulnerability due to lack of validation of paths with certain special characters, which allows a malicious user to read content of any file with known path.

Exploit prediction (EPSS)

2.37% probability of exploitation in the next 30 days, higher than 84% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmresolve-path
<1.4.0
1.4.0

Affected products

  • HackerOne resolve-path node module

Classification

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

References

  • github.com /pillarjs/resolve-path/commit/fe5b8052cafd35fcdafe9210e100e9050b37d2a0 · x_refsource_MISC, x_transferred
  • hackerone.com /reports/315760 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3732 · advisory
  • github.com /advisories/GHSA-62g9-6hw5-rwfp · advisory
  • npmjs.com /advisories/573 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.