{"id":"GHSA-6qh5-wx38-q92g","aliases":[],"status":"published","title":"Directory Traversal in ltt.js","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2019-05-30T17:15:59Z","modified":"2023-01-09T05:01:21Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"ltt.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"last_affected":"1.0.0"}]}],"versions":["1.0.0"]},{"source":"osv","ecosystem":"npm","package":"ltt.js","versions":["1.0.0"]}],"references":[{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/ltt.js","tags":["web"]},{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/ltt.js","tags":["web"]},{"url":"https://www.npmjs.com/advisories/411","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6qh5-wx38-q92g"}],"sources":{"ghsa":[{"id":"GHSA-6qh5-wx38-q92g","title":"Directory Traversal in ltt.js","description":"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.","status":"published","published":"2019-05-30T17:15:59Z","modified":"2023-01-09T05:01:21Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:01.39976Z"}],"osv":[{"id":"GHSA-6qh5-wx38-q92g","title":"Directory Traversal in ltt.js","description":"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.","status":"published","published":"2019-05-30T17:15:59Z","modified":"2020-08-31T18:22:04Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:39.965326Z"}]}}
