Packages

@hono/node-server

2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed

Your version

2.1.11

20 Nov 2026Where it was published

In short

2 security

  • Security

    Unhandled ECONNRESET on a non-WebSocket Upgrade request crashes the process when WebSocket support is enabled

  • Security

    Affects: applications that use the websocket option. A request with an Upgrade header other than websocket left the socket without an error listener. A client that reset the connection at that point crashed the process. Version 2.1.10 closed the leak for these requests but a reset that arrived before the 400 response was written still crashed. GHSA-qhm2-7mpr-ghjp

Release note

Security fix

Unhandled ECONNRESET on a non-WebSocket Upgrade request crashes the process when WebSocket support is enabled

Affects: applications that use the websocket option. A request with an Upgrade header other than websocket left the socket without an error listener. A client that reset the connection at that point crashed the process. Version 2.1.10 closed the leak for these requests but a reset that arrived before the 400 response was written still crashed. GHSA-qhm2-7mpr-ghjp

The error listener is now attached as soon as the socket is handed to the upgrade listener.

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.