Description
hostr is a simple web server that serves up the contents of the current directory. There is a directory traversal vulnerability in hostr 2.3.5 and earlier that allows an attacker to read files outside the current directory by sending `../` in the url path for GET requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | hostr node module | <=2.3.5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | hostr | < 2.3.6 | 2.3.6 | GHSA-xqqr-p362-6rmc |