@fastify/http-proxyに遠隔からサービス拒否を招く脆弱性、11.6.10で修正
概要
@fastify/http-proxyの9.0.0以降11.6.10未満に、パイプライン処理されたWebSocketアップグレードの後に接続がリセットされるとNode.jsプロセスが終了する脆弱性があります。認証なしの1接続で繰り返しサーバーを停止させられるため、影響は大きいと見られます。11.6.10以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
@fastify/http-proxyの9.0.0以降11.6.10未満に、パイプライン処理されたWebSocketアップグレードの後に接続がリセットされるとNode.jsプロセスが終了する脆弱性があります。認証なしの1接続で繰り返しサーバーを停止させられるため、影響は大きいと見られます。11.6.10以降に更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| @fastify/http-proxy@fastify/http-proxy |
9.0.0 以上 11.6.10 未満→ 11.6.10 |
11.6.10 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 9.0.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, a WebSocket upgrade that is pipelined behind another HTTP request on the same cleartext connection arrives while that request's response is still attached to the socket. The shared upgrade listener sees the socket is already claimed and returns early without taking the upgrade, but it does not attach an error listener to the raw socket, and Node.js has already removed its own error listener before emitting the upgrade event. A later socket error on that connection, such as a client connection reset, is therefore unhandled and terminates the Node.js process. A single unauthenticated connection that pipelines an upgrade behind a normal request and then resets is enough to crash the server, and it can be repeated to keep the process down. Upgrades over TLS are not affected. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory cna.openjsf.org
- advisory github.com
- advisory nvd.nist.gov