{"id":"EUVD-2024-0418","enisaUuid":"a6a3d1b8-3d0b-3a1b-bd10-7fdfb6b2d040","description":"@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\u0027s Request as does not resolve double dots, so `http://localhost/static/.. /foo.txt` is returned. This causes vulnerabilities when using `serveStatic`. Modern web browsers and a latest `curl` command resolve double dots on the client side, so this issue doesn\u0027t affect those using either of those tools. However, problems may occur if accessed by a client that does not resolve them. Version 1.4.1 includes the change to fix this issue. As a workaround, don\u0027t use `serveStatic`.\n\n","datePublished":"Jan 22, 2024, 11:00:34 PM","dateUpdated":"May 30, 2025, 2:21:51 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/honojs/node-server/security/advisories/GHSA-rjq5-w47x-x359\nhttps://github.com/honojs/node-server/commit/dd9b9a9b23e3896403c90a740e7f1f0892feb402\nhttps://github.com/honojs/node-server/blob/8cea466fd05e6d2e99c28011fc0e2c2d3f3397c9/src/request.ts#L43-L45\n","aliases":"CVE-2024-23340\nGHSA-rjq5-w47x-x359\n","assigner":"GitHub_M","epss":0.72,"enisaIdProduct":[{"id":"19148a48-b4f4-3d7e-9636-3974716aa89f","product":{"name":"node-server","vendor":{"name":"honojs"}},"product_version":"1.3.0, \u003c 1.4.1"}],"enisaIdVendor":[{"id":"bb0108de-0f89-38fc-a60e-f7d67d9eaf3c","vendor":{"name":"honojs"}}],"enisaIdVulnerability":[{"id":"c45f0d3b-3898-33db-81d7-f8c3c50c63e6","vulnerability":{"id":"CVE-2024-23340","description":"@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\u0027s Request as does not resolve double dots, so `http://localhost/static/.. /foo.txt` is returned. This causes vulnerabilities when using `serveStatic`. Modern web browsers and a latest `curl` command resolve double dots on the client side, so this issue doesn\u0027t affect those using either of those tools. However, problems may occur if accessed by a client that does not resolve them. Version 1.4.1 includes the change to fix this issue. As a workaround, don\u0027t use `serveStatic`.\n\n","datePublished":"Jan 22, 2024, 11:00:34 PM","dateUpdated":"May 30, 2025, 2:21:51 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/honojs/node-server/security/advisories/GHSA-rjq5-w47x-x359\nhttps://github.com/honojs/node-server/commit/dd9b9a9b23e3896403c90a740e7f1f0892feb402\nhttps://github.com/honojs/node-server/blob/8cea466fd05e6d2e99c28011fc0e2c2d3f3397c9/src/request.ts#L43-L45\n","enisa_id":"EUVD-2024-0418\n","assigner":"GitHub_M","epss":0.72,"dataProcessed":"Nov 15, 2026, 1:36:30 AM","vulnerabilityProduct":[{"id":"3dd1ee96-a89d-3920-91ea-8489dc112696","product":{"name":"node-server","vendor":{"name":"honojs"}},"product_version":"1.3.0, \u003c 1.4.1"}],"vulnerabilityVendor":[{"id":"8434fd7a-8c6d-3d82-b619-1a12c7541fe0","vendor":{"name":"honojs"}}]}},{"id":"ee04feaa-c228-3d0e-aacf-42bfab8cd9ec","vulnerability":{"id":"GHSA-rjq5-w47x-x359","description":"@hono/node-server cannot handle \"double dots\" in URL","datePublished":"Jan 23, 2024, 2:42:51 PM","dateUpdated":"Jan 23, 2024, 2:42:51 PM","baseScore":null,"references":"https://github.com/honojs/node-server/security/advisories/GHSA-rjq5-w47x-x359\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-23340\nhttps://github.com/honojs/node-server/commit/dd9b9a9b23e3896403c90a740e7f1f0892feb402\nhttps://github.com/honojs/node-server\nhttps://github.com/honojs/node-server/blob/8cea466fd05e6d2e99c28011fc0e2c2d3f3397c9/src/request.ts#L43-L45\n","enisa_id":"EUVD-2024-0418\n","aliases":"GHSA-rjq5-w47x-x359\nCVE-2024-23340\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:35:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}