English version →
Webアプリケーション
CVE-2026-15631 high CVSS 8.7

Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to validate the resolved WebSocket destination path against the configured rewrite prefix. The WebSocket routing path in...

概要

Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to validate the resolved WebSocket destination path against the configured rewrite prefix. The WebSocket routing path in WebSocketProxy.findUpstream resolves the destination via the WHATWG URL constructor, which collapse...

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to validate the resolved WebSocket destination path against the configured rewrite prefix. The WebSocket routing path in WebSocketProxy.findUpstream resolves the destination via the WHATWG URL constructor, which collapses dot segments, so a crafted upgrade request with path traversal sequences can escape the rewrite prefix and reach upstream endpoints that were not meant to be exposed by the proxy. This is a variant of CVE-2021-21322 in a code path that never went through the HTTP fix in fastify/reply-from. Exploitation requires a non-normalizing WebSocket client, since browsers and the ws package normalize the request path before sending, but raw HTTP clients or downstream proxies that forward the request target unchanged make the attack reachable in production topologies.

Patches: upgrade to @fastify/http-proxy 11.6.0.

Workarounds: none.

出典: NIST National Vulnerability Database NVD

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Fastifyのバージョン9.4.0から11.5.0において、WebSocketの宛先パスが適切に検証されず、作成されたパス・トラバーサルのシーケンスによって意図されていない上位のエンドポイントにアクセス可能な脆弱性があります。これは、プロキシによって公開されるべきでないエンドポイントに到達可能にします。この問題は、Fastifyのバージョン11.6.0にアップグレードすることで修正されています。

❓ 何が問題か

Fastifyのバージョン9.4.0から11.5.0において、WebSocketの宛先パスが適切に検証されない脆弱性。

📍 影響範囲

@fastify/http-proxyのバージョン9.4.0から11.5.0

🔥 重要度

意図しない上位エンドポイントにアクセス可能となるセキュリティリスク。

🔧 修正方法

@fastify/http-proxyをバージョン11.6.0にアップグレードする。

🛡️ 暫定回避

暫定回避策はなし。

🔍 検知方法

特定のWebSocketクライアントまたはダウングレードプロキシを用いて検証可能。

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく