CyberRota Analysis
AI-GeneratedThe Hono application running on Node.js versions 2.0.0 to 2.0.10 is vulnerable to a denial-of-service attack due to improper handling of WebSocket upgrade requests with missing or malformed Sec-WebSocket-Key headers. This flaw allows unauthenticated attackers to exploit the service by flooding a public route, leading to unbounded memory growth and potential service unavailability. Organizations using affected versions should prioritize upgrading to version 2.0.10 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.0.10, a WebSocket upgrade request to an upgradeWebSocket route with a missing or malformed Sec-WebSocket-Key header causes src/websocket.ts to retain the request's IncomingMessage in waiterMap and leave waitForWebSocket pending because ws.handleUpgrade emits no connection event. The aborted handshake therefore has no cleanup path, allowing an unauthenticated attacker to flood a public route, cause unbounded memory growth, and eventually make the service unavailable. This issue is fixed in version 2.0.10.