CVE-2024-32652 @hono/node-server contains Denial of Service risk when receiving Host header that cannot be parsed

High 7.5 Published Updated

An attacker can cause a denial of service by sending a malformed Host header to applications using the @hono/node-server adapter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-32652?

CVE-2024-32652 is a high-severity denial of service vulnerability in honojs node-server, published on 19 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-755

Which versions are affected by CVE-2024-32652?

2 open source packages ship an affected version, including @hono/node-server. It affects 1 product.

PackageAffectedFixed in
@hono/node-server npmFrom 1.3.01.10.1
@hono/node-server npmFrom 1.3.01.10.1

Products include Hono Node-Server.

How do I fix CVE-2024-32652?

Upgrade @hono/node-server to 1.10.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-32652 being exploited?

There is no known exploitation of CVE-2024-32652 in the wild and no public exploit code.

Sources

Also known as GHSA-hgxw-5xg3-69jx.

Is CVE-2024-32652 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free