1 results (0.002 seconds)
CVSS: 5.3EPSS: 0%CPEs: 1EXPL: 1

CVE-2024-23340 – @hono/node-server can't handle "double dots" in URL
https://notcve.org/view.php?id=CVE-2024-23340
22 Jan 2024 — @hono/node-server is an adapter that allows users to run Hono applications on Node.js. Since v1.3.0, @hono/node-server has used its own Request object with `url` behavior that is unexpected. In the standard API, if the URL contains `..`, here called "double dots", the URL string returned by Request will be in the resolved path. However, the `url` in @hono/node-server's Request as does not resolve double dots, so `http://localhost/static/.. /foo.txt` is returned. • https://github.com/honojs/node-server/blob/8cea466fd05e6d2e99c28011fc0e2c2d3f3397c9/src/request.ts#L43-L45 • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •