Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hono/node-server
  4. ›
  5. GHSA-9mqv-5hh9-4cgg

GHSA-9mqv-5hh9-4cgg: Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshake

July 21, 2026

A WebSocket upgrade request to an upgradeWebSocket route with a missing or malformed Sec-WebSocket-Key header leaks memory permanently. The request’s IncomingMessage is retained in an internal map and a pending promise is never settled, even though no connection is established. Since the route is reachable pre-handshake without authentication, an unauthenticated attacker can flood it to gradually exhaust memory.

References

  • github.com/advisories/GHSA-9mqv-5hh9-4cgg
  • github.com/honojs/node-server/commit/3a21938c418340e980cb7ffa88e78369f78392d1
  • github.com/honojs/node-server/releases/tag/v2.0.10
  • github.com/honojs/node-server/security/advisories/GHSA-9mqv-5hh9-4cgg

Code Behaviors & Features

Detect and mitigate GHSA-9mqv-5hh9-4cgg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.10

Fixed versions

  • 2.0.10

Solution

Upgrade to version 2.0.10 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@hono/node-server/GHSA-9mqv-5hh9-4cgg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:19 +0000.