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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.9%top 40.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@hono/node-server1.10.1GHSA-hgxw-5xg3-69jx

Affected products (as reported)

VendorProductVersions
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