
CVE-2024-32652 – @hono/node-server contains Denial of Service risk when receiving Host header that cannot be parsed
https://notcve.org/view.php?id=CVE-2024-32652
19 Apr 2024 — The adapter @hono/node-server allows you to run your Hono application on Node.js. Prior to 1.10.1, the application hangs when receiving a Host header with a value that `@hono/node-server` can't handle well. Invalid values are those that cannot be parsed by the `URL` as a hostname such as an empty string, slashes `/`, and other strings. The version 1.10.1 includes the fix for this issue. El adaptador @hono/node-server le permite ejecutar su aplicación Hono en Node.js. • https://github.com/honojs/node-server/commit/d847e60249fd8183ba0998bc379ba20505643204 • CWE-755: Improper Handling of Exceptional Conditions •

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') •