{"id":"GHSA-2mp5-m968-gwr2","summary":"Path Traversal in http-file-server","details":"All versions of `http-file-server` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","aliases":["CVE-2019-5447"],"modified":"2023-11-08T04:01:36.410213Z","published":"2019-07-16T00:41:34Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-07-15T21:41:32Z","nvd_published_at":"2019-07-15T18:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5447"},{"type":"WEB","url":"https://hackerone.com/reports/570133"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1077"}],"affected":[{"package":{"name":"http-file-server","ecosystem":"npm","purl":"pkg:npm/http-file-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 0.2.6","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-2mp5-m968-gwr2/GHSA-2mp5-m968-gwr2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}