Improper Handling of Exceptional Conditions Affecting @hono/node-server package, versions >=1.3.0 <1.10.1
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.05% (17th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-HONONODESERVER-6669947
- published 21 Apr 2024
- disclosed 19 Apr 2024
- credit Unknown
Introduced: 19 Apr 2024
CVE-2024-32652 Open this link in a new tabHow to fix?
Upgrade @hono/node-server
to version 1.10.1 or higher.
Overview
@hono/node-server is a Node.js Adapter for Hono
Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions in the newRequest()
function in listener.ts
, which fails with ERR_INVALID_URL
on invalid Host:
header values, including empty string and /
. This allows attackers to trigger denial of service.
Note: The maintainers recommend upgrading to 1.11.0 to fix all issues related to this vulnerability.
PoC
curl localhost:3000/ -H "Host: "
References
CVSS Scores
version 3.1