{"id":"GHSA-6qh5-wx38-q92g","summary":"Directory Traversal in ltt.js","details":"Affected versions of `ltt.js` 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\nExample request:\n```\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.","modified":"2020-08-31T18:22:04Z","published":"2019-05-30T17:15:59Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-05-30T17:15:20Z"},"references":[{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/ltt.js"},{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/ltt.js"},{"type":"WEB","url":"https://www.npmjs.com/advisories/411"}],"affected":[{"package":{"name":"ltt.js","ecosystem":"npm","purl":"pkg:npm/ltt.js"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-6qh5-wx38-q92g/GHSA-6qh5-wx38-q92g.json"}}],"schema_version":"1.9.0"}