{"id":"GHSA-224h-p7p5-rh85","aliases":[],"status":"published","title":"Directory Traversal in wenluhong1","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2020-09-01T17:32:26Z","modified":"2023-01-09T05:03:50Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"wenluhong1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"wenluhong1","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/wenluhong1","tags":["web"]},{"url":"https://www.npmjs.com/advisories/409","tags":["web"]},{"url":"https://snyk.io/vuln/npm:wenluhong1:20170509","tags":["web"]},{"url":"https://github.com/advisories/GHSA-224h-p7p5-rh85"}],"sources":{"ghsa":[{"id":"GHSA-224h-p7p5-rh85","title":"Directory Traversal in wenluhong1","description":"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.","status":"published","published":"2020-09-01T17:32:26Z","modified":"2023-01-09T05:03:50Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-224h-p7p5-rh85","title":"Directory Traversal in wenluhong1","description":"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.","status":"published","published":"2020-09-01T17:32:26Z","modified":"2021-09-23T21:43:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:33.520522Z"}]}}
