chore(deps): update @hono/node-server@<2.0.5 to v2.1.0 [security] - #710
Merged
stijnpotters1 merged 1 commit intoAug 10, 2026
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/npm-hono-node-server@-2.0.5-vulnerability
branch
from
August 10, 2026 08:51
e1005af to
116c62b
Compare
|
stijnpotters1
approved these changes
Aug 10, 2026
stijnpotters1
deleted the
renovate/npm-hono-node-server@-2.0.5-vulnerability
branch
August 10, 2026 09:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
>=2.0.5→>=2.1.0bump,lockfileUpdate, orrollbackupdates, so these are raised without a Minimum Release Age check. You will need to manually validate the Minimum Release Age for these package(s).Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshake
GHSA-9mqv-5hh9-4cgg
More information
Details
Summary
A WebSocket upgrade request to an
upgradeWebSocketroute with a missing or malformedSec-WebSocket-Keyheader leaks memory permanently. The request'sIncomingMessageis 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.Details
The built-in WebSocket helper cleans up its internal map only on a successful handshake or when the route guard rejects the request. When
wsaborts the handshake becauseSec-WebSocket-Keyis missing or malformed, noconnectionevent is emitted, so neither cleanup path runs and the entry is retained forever. A present-but-malformed key leaks identically, so a proxy that only checks for the header's presence does not mitigate it.Impact
An unauthenticated attacker can flood any public
upgradeWebSocketroute with malformed-key upgrade requests, causing unbounded memory growth and eventual loss of availability. No confidentiality or integrity impact.Reported by @TarPeg007.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
honojs/node-server (@hono/node-server@<2.0.5)
v2.1.0Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v2.0.12...v2.1.0
v2.0.12Compare Source
What's Changed
Full Changelog: honojs/node-server@v2.0.11...v2.0.12
v2.0.11Compare Source
What's Changed
Full Changelog: honojs/node-server@v2.0.10...v2.0.11
v2.0.10Compare Source
Security fixes
This release includes a fix for the following security issue:
Unauthenticated memory-leak DoS via aborted WebSocket handshake
Affects:
upgradeWebSocket. A WebSocket upgrade request with a missing or malformedSec-WebSocket-Keyheader leaked the request'sIncomingMessageand left a promise pending, even though no connection was established. Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cggUsers of
upgradeWebSocketare encouraged to upgrade to this version.v2.0.9Compare Source
What's Changed
New Contributors
Full Changelog: honojs/node-server@v2.0.8...v2.0.9
v2.0.8Compare Source
What's Changed
--no-git-checksoption forpnpm stage publishby @yusukebe in #369Full Changelog: honojs/node-server@v2.0.7...v2.0.8
v2.0.6Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.