GitHub Advisory Database
GHSA-xqqr-p362-6rmc
Directory Traversal in hostr
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | hostr | All versions before 2.3.6 (fixed in 2.3.6) |