{"id":"GHSA-5w8q-x7hc-jhp6","summary":"Directory Traversal in node-simple-router","details":"Affected versions of `node-simple-router` 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\nUpdate to v0.10.1 or later.","aliases":["CVE-2017-16083"],"modified":"2023-11-08T03:59:03.820332Z","published":"2018-07-24T19:42:39Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:17:29Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16083"},{"type":"WEB","url":"https://github.com/sandy98/node-simple-router/commit/dfdd52e2e80607af433097d940b3834fd96df488"},{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/node-simple-router"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5w8q-x7hc-jhp6"},{"type":"WEB","url":"https://www.npmjs.com/advisories/352"}],"affected":[{"package":{"name":"node-simple-router","ecosystem":"npm","purl":"pkg:npm/node-simple-router"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.10.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-5w8q-x7hc-jhp6/GHSA-5w8q-x7hc-jhp6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}