Vulnerability · Published Apr 19, 2024 · Assigned by GitHub_M
CVE-2024-32652@hono/node-server contains Denial of Service risk when receiving Host header that cannot be parsed
High 7.5
In plain English
A high-severity security flaw in node-server from honojs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @hono/node-server | 1.10.1 | GHSA-hgxw-5xg3-69jx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| honojs | node-server | >= 1.3.0, < 1.10.1 |
Weakness: CWE-755 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/honojs/node-server/security/advisories/GHSA-hgxw-5xg3-69jx x_refsource_CONFIRM
- https://github.com/honojs/node-server/issues/159 x_refsource_MISC
- https://github.com/honojs/node-server/commit/d847e60249fd8183ba0998bc379ba20505643204 x_refsource_MISC