{"id":"GHSA-m4vv-p6fq-jhqp","aliases":[],"url":"https://o3.security/vulnerability/GHSA-m4vv-p6fq-jhqp","summary":"Directory Traversal in @vivaxy/here","details":"The @vivaxy/here module is a small web server that serves files with the process' working directory acting as the web root.\n\nIt is vulnerable to a directory traversal attack. \n\nThis means that files on the local file system which exist outside of the web root may be disclosed to an attacker. This might include confidential files.\n\nMitigating Factors:\nIf the node process is run as a user with very limited filesystem permissions, there is significantly less risk of exposing confidential/private information.\n\n\nProof of Concept:\n```\ncurl \"http://${SERVER_IP}:${SERVER_PORT}/..%2f..%2fetc/passwd\"\n```\n\n\n## Recommendation\n\nRun `npm i @vivaxy/here` to install the latest version that addresses this vulnerability.","published":"2020-09-01T19:04:07Z","modified":"2021-09-23T21:48:53Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@vivaxy/here","fixedVersion":"3.2.2"}],"fix":{"url":"https://github.com/vivaxy/here/commit/298dbab41344dfb7f95f66b1fa7b5cfb436bd4a2","label":"vivaxy/here@298dbab"},"references":[{"type":"WEB","url":"https://github.com/vivaxy/here/commit/298dbab41344dfb7f95f66b1fa7b5cfb436bd4a2"},{"type":"WEB","url":"https://hackerone.com/reports/296254"},{"type":"PACKAGE","url":"https://github.com/vivaxy/here"},{"type":"WEB","url":"https://www.npmjs.com/advisories/557"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-23T21:48:53Z"}}