{"id":"GHSA-f499-jv47-9wxf","summary":"Directory Traversal in desafio","details":"Affected versions of `desafio` 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-16164"],"modified":"2023-11-08T03:59:08.698449Z","published":"2018-08-06T21:40:02Z","database_specific":{"github_reviewed_at":"2020-06-16T21:33:34Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16164"},{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/desafio"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f499-jv47-9wxf"},{"type":"WEB","url":"https://www.npmjs.com/advisories/397"}],"affected":[{"package":{"name":"desafio","ecosystem":"npm","purl":"pkg:npm/desafio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-f499-jv47-9wxf/GHSA-f499-jv47-9wxf.json"}}],"schema_version":"1.9.0"}