{"id":"CVE-2017-16029","aliases":["EUVD-2018-0789","GHSA-xqqr-p362-6rmc"],"status":"published","title":"Directory Traversal in hostr","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01797,"percentile":0.78592,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2018-06-04T19:00:00Z","modified":"2026-06-17T01:08:40Z","fixes":[{"ecosystem":"npm","package":"hostr","fixed_in":["2.3.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"hostr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.3.5"},{"fixed":"2.3.6"}]}]},{"source":"osv","ecosystem":"npm","package":"hostr","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.6"}]}]}],"products":[{"vendor":"hackerone","product":"hostr node module"},{"vendor":"hostr_project","product":"hostr"}],"references":[{"url":"https://github.com/henrytseng/hostr/issues/8","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nodesecurity.io/advisories/303","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16029","tags":["advisory"]},{"url":"https://github.com/henrytseng/hostr/issues/8)","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xqqr-p362-6rmc","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/303","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-16029","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.","status":"published","published":"2018-06-04T19:00:00Z","modified":"2024-09-17T00:11:57.294Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2018-0789","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.","status":"published","published":"2018-06-04T19:00:00Z","modified":"2024-09-17T00:11:57Z","updated_at":"2026-11-03T00:29:01.072419Z"}],"ghsa":[{"id":"GHSA-xqqr-p362-6rmc","title":"Directory Traversal in hostr","description":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.6 or later.","status":"published","published":"2018-11-09T17:44:20Z","modified":"2023-09-12T21:11:31Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:05.004935Z"}],"nvd":[{"id":"CVE-2017-16029","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.","status":"published","published":"2018-06-04T19:29:01.647Z","modified":"2026-06-17T01:08:40.06Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"GHSA-xqqr-p362-6rmc","title":"Directory Traversal in hostr","description":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.6 or later.","status":"published","published":"2018-11-09T17:44:20Z","modified":"2023-11-08T03:59:00.558114Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
