GitHub Advisoryadvisory · npm

GHSA-xqqr-p362-6rmc Directory Traversal in hostr

HIGH Published 2018-11-09 Modified 2023-09-12 Official page ↗
Aliases
CVE-2017-16029
Ecosystem
npm
Packages
hostr
Severity
High
CVSS vector
CVSS:3.0/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 hostr: < 2.3.6 → fixed in 2.3.6

Description

Affected versions of `hostr` are vulnerable to directory traversal which allows attackers to read files outside the current directory by sending `../` in the url path for GET requests. Recommendation Upgrade to version 2.3.6 or later.

Related

Alias · CVE (1)

  • CVE-2017-16029 hostr is a simple web server that serves up the contents of the current directory. vulnerability

Weakness · CWE (1)

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

References