GitHub Advisoryadvisory · npm
GHSA-2gjg-5x33-mmp2 Path Traversal in localhost-now
HIGH
Official page ↗
- Aliases
- CVE-2018-3729
- Ecosystem
- npm
- Packages
- localhost-now
- 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 localhost-now: < 1.0.2 → fixed in 1.0.2
Description
Versions of `localhost-now` before 1.0.2 are vulnerable to path traversal. This allows a remote attacker to read the content of an arbitrary file.
Recommendation
Update to version 1.0.2 or later.
Related
Alias · CVE (1)
- CVE-2018-3729 localhost-now node module suffers from a Path Traversal vulnerability due to lack of validation of file, which allows a malicious user to… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-3729 advisory
- https://github.com/DCKT/localhost-now/commit/30b004c7f145d677df8800a106c2edc982313995#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 web
- https://hackerone.com/reports/312889 web
- https://github.com/advisories/GHSA-2gjg-5x33-mmp2 advisory
- https://www.npmjs.com/advisories/582 web