本文へ移動
English version →
高 8.2

@fastify/reply-fromにパス・トラバーサルの脆弱性、内部パスに到達されるおそれ

CVE-2026-127064 SecPulse初出

概要

@fastify/reply-fromの12.8.4より前のバージョンには、セミコロンのパスパラメーターを含むパス・トラバーサルの脆弱性があります。認証なしの攻撃者が上流サーバーの内部パスに到達し、状態を変更するリクエストを送れるおそれがあります。修正版の12.8.4以降に更新してください。

AI要約

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

@fastify/reply-fromの12.8.4より前のバージョンには、セミコロンのパスパラメーターを含むパス・トラバーサルの脆弱性があります。認証なしの攻撃者が上流サーバーの内部パスに到達し、状態を変更するリクエストを送れるおそれがあります。修正版の12.8.4以降に更新してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
@fastify/reply-from@fastify/reply-from
12.8.4 未満→ 12.8.4
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the traversal check, and the WHATWG URL parser keeps it as an ordinary segment so the base-prefix containment check also passes. Backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot, turn the segment back into a parent-directory reference and resolve it, so an unauthenticated client can escape the intended upstream prefix and reach internal paths such as admin or internal API endpoints, including with state-changing methods. Deployments that proxy to Node.js, nginx, or Express upstreams are not affected. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

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