{"id":"CVE-2024-32869","published":"2024-04-23T20:20:44Z","modified":"2024-08-02T02:20:35Z","title":"Hono vulnerable to Restricted Directory Traversal in serveStatic with deno","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.2.7, when using serveStatic with deno, it is possible to traverse the directory where `main.ts` is located. This can result in retrieval of unexpected files. Version 4.2.7 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00642,"percentile":0.51725,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-3mpf-rcc7-5347","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":10.34},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.2.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-25T18:47:56.120758Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.2.7"],"patched":["4.2.7"],"from":["GHSA-3mpf-rcc7-5347"],"provenance":"source"}],"summary":{"text":"The Hono web application framework, specifically its serveStatic handler when used with the Deno runtime, contains a path traversal flaw that lets requests reach directories outside the intended static root, in the directory where main.ts is located. An unauthenticated remote attacker can exploit it over the network with no user interaction and no special configuration beyond using serveStatic under Deno, potentially retrieving unexpected files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:34Z"},"euvd":{"id":"EUVD-2024-1083","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-hono-cve-2021-22964","children":[{"from":"CVE-2024-32869","to":"CVE-2026-111757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/middleware/serve-static/index.ts"],"commits":["https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65","https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"],"basis":"rarely changed file"}]},{"from":"CVE-2024-32869","to":"CVE-2026-29045","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/middleware/serve-static/index.ts"],"commits":["https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65","https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-50710","published":"2023-12-14","fixed":"3.11.7","kev":false},{"cve":"CVE-2024-32869","published":"2024-04-23","fixed":"4.2.7","kev":false},{"cve":"CVE-2024-43787","published":"2024-08-22","fixed":"4.5.8","kev":false,"link":{"from":"CVE-2024-32869","to":"CVE-2024-43787","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:hono","fromFixed":"4.2.7","toFixed":"4.5.8","daysApart":121}]}},{"cve":"CVE-2024-48913","published":"2024-10-15","fixed":"4.6.5","kev":false},{"cve":"CVE-2025-58362","published":"2025-09-04","fixed":"4.9.6","kev":false}],"package":"npm:hono"}}