chore(deps): bump @hono/node-server from 2.1.9 to 2.1.11
Bumps @hono/node-server from 2.1.9 to 2.1.11.
Release notes
Sourced from @hono/node-server's releases.
v2.1.11
Security fix
Unhandled
ECONNRESETon a non-WebSocketUpgraderequest crashes the process when WebSocket support is enabledAffects: applications that use the
websocketoption. A request with anUpgradeheader other thanwebsocketleft 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 the400response was written still crashed. GHSA-qhm2-7mpr-ghjpThe error listener is now attached as soon as the socket is handed to the upgrade listener.
Full Changelog: https://github.com/honojs/node-server/compare/v2.1.10...v2.1.11
v2.1.10
Security fix
WebSocket upgrade listener leaves non-WebSocket
Upgraderequests open, leading to socket exhaustionAffects: applications that use the
websocketoption. The upgrade listener ignored requests whoseUpgradeheader was notwebsocket, so the socket stayed open until the client closed it. A client could hold many connections open this way, and clients that try an HTTP/2 upgrade over plain HTTP hung. GHSA-8wcc-wqxr-28qpSuch a request is now answered with
400 Bad Requestand the socket is closed, unless the application registers its ownupgradelistener.Full Changelog: https://github.com/honojs/node-server/compare/v2.1.9...v2.1.10
Commits
3c196342.1.11750152aMerge commit from fork60ada8d2.1.10ca7f5dbMerge commit from fork- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @hono/node-server from 2.1.9 to 2.1.11 to apply two security fixes for the WebSocket upgrade path.
- Non-WebSocket
Upgraderequests are now answered with400 Bad Requestand closed, preventing socket exhaustion. - An
ECONNRESETthat arrives before that400response is written no longer crashes the process.
These changes only affect apps that enable the websocket option.