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.
Remediation
References
https://nodesecurity.io/advisories/303
https://github.com/henrytseng/hostr/issues/8
Related Vulnerabilities
CVE-2020-7021 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2020-8268 Vulnerability in npm package json8-merge-patch
CVE-2021-32573 Vulnerability in npm package express-cart
CVE-2022-24373 Vulnerability in npm package react-native-reanimated
CVE-2016-8745 Vulnerability in maven package org.apache.tomcat:coyote