7.5high

CVE-2018-3731

Path Traversal in public

Also known as GHSA-rwv8-jvff-jq28

Published 8 y ago · modified 4 mo ago · JSON

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

Summary

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.

Exploit prediction (EPSS)

2.01% probability of exploitation in the next 30 days, higher than 81% 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
npmpublic
<0.1.3
0.1.3

Affected products

  • HackerOne public node module

Classification

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

References

  • hackerone.com /reports/312918 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3731 · advisory
  • github.com /tnantoka/public/commit/eae8ad8017b260f8667ded5e12801bd72b877af2 · web
  • github.com /advisories/GHSA-rwv8-jvff-jq28 · advisory
  • npmjs.com /advisories/571 · web

Sources

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