{"id":"GHSA-j38m-7q52-fgfh","summary":"Directory Traversal in node-server-forfront","details":"Affected versions of `node-server-forfront` resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.\n\n**Example request:**\n```http\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nNo patch is available for this vulnerability.\n\nIt is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.","aliases":["CVE-2017-16124"],"modified":"2023-11-08T03:59:06.256165Z","published":"2018-07-23T23:33:42Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:41:47Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16124"},{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/node-server-forfront"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j38m-7q52-fgfh"},{"type":"WEB","url":"https://www.npmjs.com/advisories/382"}],"affected":[{"package":{"name":"node-server-forfront","ecosystem":"npm","purl":"pkg:npm/node-server-forfront"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.10.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-j38m-7q52-fgfh/GHSA-j38m-7q52-fgfh.json"}}],"schema_version":"1.9.0"}