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-2019-9843 Vulnerability in maven package com.diffplug.spotless:spotless-plugin-gradle
CVE-2018-20677 Vulnerability in maven package org.fujion.webjars:bootstrap
CVE-2018-25031 Vulnerability in maven package org.webjars.npm:swagger-ui
CVE-2021-26540 Vulnerability in maven package org.webjars.npm:sanitize-html