{"id":"GHSA-224h-p7p5-rh85","summary":"Directory Traversal in wenluhong1","details":"Affected versions of `wenluhong1` 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":"2021-09-23T21:43:28Z","published":"2020-09-01T17:32:26Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:22:00Z","nvd_published_at":null,"cwe_ids":["CWE-22"]},"references":[{"type":"WEB","url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/wenluhong1"},{"type":"WEB","url":"https://snyk.io/vuln/npm:wenluhong1:20170509"},{"type":"WEB","url":"https://www.npmjs.com/advisories/409"}],"affected":[{"package":{"name":"wenluhong1","ecosystem":"npm","purl":"pkg:npm/wenluhong1"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-224h-p7p5-rh85/GHSA-224h-p7p5-rh85.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}