{"id":"GHSA-cfxm-4p54-5w7h","summary":"Directory traversal in pooledwebsocket","details":"Affected versions of `pooledwebsocket` 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 version 0.0.19 or later.","aliases":["CVE-2017-16107"],"modified":"2023-11-08T03:59:05.283972Z","published":"2018-07-24T00:20:57Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:31:27Z","nvd_published_at":null,"cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16107"},{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/pooledwebsocket"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cfxm-4p54-5w7h"},{"type":"WEB","url":"https://www.npmjs.com/advisories/341"}],"affected":[{"package":{"name":"pooledwebsocket","ecosystem":"npm","purl":"pkg:npm/pooledwebsocket"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.19"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-cfxm-4p54-5w7h/GHSA-cfxm-4p54-5w7h.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"}]}