{"id":"GHSA-4vvp-x9h2-x2vf","aliases":[],"status":"published","title":"Path Traversal in public","description":"All versions of `public` are vulnerable to Path Traversal. This vulnerability allows an attacker to access files outside the webroot since it allows symlink navigation in the URL.\n\n\n## Recommendation\n\nNo fix is currently available. Do not use `public` in production or consider using an alternative module until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2020-09-03T20:26:39Z","modified":"2023-01-09T05:04:07Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"public","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"public","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://hackerone.com/reports/593911","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1144","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4vvp-x9h2-x2vf"}],"sources":{"ghsa":[{"id":"GHSA-4vvp-x9h2-x2vf","title":"Path Traversal in public","description":"All versions of `public` are vulnerable to Path Traversal. This vulnerability allows an attacker to access files outside the webroot since it allows symlink navigation in the URL.\n\n\n## Recommendation\n\nNo fix is currently available. Do not use `public` in production or consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-03T20:26:39Z","modified":"2023-01-09T05:04:07Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-4vvp-x9h2-x2vf","title":"Path Traversal in public","description":"All versions of `public` are vulnerable to Path Traversal. This vulnerability allows an attacker to access files outside the webroot since it allows symlink navigation in the URL.\n\n\n## Recommendation\n\nNo fix is currently available. Do not use `public` in production or consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-03T20:26:39Z","modified":"2020-08-31T18:48:53Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
