@hono/node-server
2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed
Upgrading @hono/node-server From 2.0.0 to 2.1.11
23 releases in betweenevery note read
- 0
- changes to make
- 5
- advisories fixed
- 4
- new
- 23
- fixes
Security
Fixes 5 advisories affecting 2.0.0
- Node.js Adapter for Hono: Unauthenticated memory-leak DoS via aborted WebSocket handshakemoderate · GHSA-9mqv-5hh9-4cgg
- Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)moderate · GHSA-frvp-7c67-39w9
- @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxymoderate · GHSA-jpvv-r467-5p4w
- @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the processmoderate · GHSA-qv5m-9pm6-hqp3
- @hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static pathsmoderate · GHSA-rmxm-3fg6-px4f
- 2.1.11
Version 2.1.10 closed the leak for these requests but a reset that arrived before the
400response was written still crashed. GHSA-qhm2-7mpr-ghjp - 2.1.10
A client could hold many connections open this way, and clients that try an HTTP/2 upgrade over plain HTTP hung. GHSA-8wcc-wqxr-28qp
- 2.1.7
The fix for GHSA-rmxm-3fg6-px4f rejects a path containing
%, but theallowPercentInPathoption skipped that check entirely. - 2.1.7
The same fix ships in
honov4.13.18 (GHSA-74fm-fwc7-3fwp). - 2.1.6
A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w
- 2.1.6
An application that compared
Originwith the origin ofc.req.urlcould be bypassed by a page on another site. GHSA-7v5p-43qr-wch5 - 2.1.6
A client that reset the connection during asynchronous middleware caused an unhandled
'error'event and terminated the process. GHSA-qv5m-9pm6-hqp3 - 2.1.3
GHSA-rmxm-3fg6-px4f
- 2.0.10
Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg
- 2.0.5
Fixed a security issue in Serve Static Middleware where prefix-mounted middleware could be bypassed on Windows.
Release by release
- Security
Version 2.1.10 closed the leak for these requests but a reset that arrived before the
400response was written still crashed. GHSA-qhm2-7mpr-ghjp
- Security
- Security
A client could hold many connections open this way, and clients that try an HTTP/2 upgrade over plain HTTP hung. GHSA-8wcc-wqxr-28qp
- Security
- Fixed
Add bytes() to the lightweight Request and Response
- Fixed
request: Drain buffered chunks when recovering a body after disconnect
- Fixed
Support native Request and Response with Symbol.hasInstance
- Fixed
- Fixed
request: Forward duplex to the native request
- Fixed
utils: Do not chain a promise per chunk while streaming a response
- Fixed
listener: Cancel the response body when the client has already disconnected
- Fixed
utils: Cancel late HTTP/2 response bodies
- Fixed
listener: Do not send a complete response when the body fails during the early read
- Fixed
- Security
The fix for GHSA-rmxm-3fg6-px4f rejects a path containing
%, but theallowPercentInPathoption skipped that check entirely. - Security
The same fix ships in
honov4.13.18 (GHSA-74fm-fwc7-3fwp).
- Security
- Security
A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w
- Security
An application that compared
Originwith the origin ofc.req.urlcould be bypassed by a page on another site. GHSA-7v5p-43qr-wch5 - Security
A client that reset the connection during asynchronous middleware caused an unhandled
'error'event and terminated the process. GHSA-qv5m-9pm6-hqp3
- Security
- Fixed
listener: Abort the request signal when an HTTP/2 client resets the stream
- Fixed
serve-static: Only serve GET and HEAD requests
- Fixed
2.1.4nothing new or fixed in the note
13 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.