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-0233 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-16459 Vulnerability in npm package exceljs
CVE-2018-16492 Vulnerability in npm package extend
CVE-2021-3757 Vulnerability in npm package immer
CVE-2023-24188 Vulnerability in maven package com.bstek.ureport:ureport2-core