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://github.com/henrytseng/hostr/issues/8
https://nodesecurity.io/advisories/303
Related Vulnerabilities
CVE-2021-41165 Vulnerability in maven package org.webjars.bowergithub.ckeditor:ckeditor4
CVE-2023-44487 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-24717 Vulnerability in npm package @finastra/ssr-pages
CVE-2018-16489 Vulnerability in npm package just-extend
CVE-2020-7684 Vulnerability in npm package rollup-plugin-serve