Katalog CVE

CVE-2026-117518

WysokieCVSS 8.2
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

Wtyczka @fastify/reply-from w wersjach do 12.8.0 włącznie waliduje ścieżki proxy tylko pod kątem ukośników w segmencie kropki, a następnie buduje cel za pomocą parsera WHATWG URL, który normalizuje backslash i jego formę procentową do ukośnika. Ścieżka używająca backslashowych segmentów kropki omija sprawdzenie traversal i prowadzi do innej ścieżki upstream. Nieuwierzytelnione żądanie może wyjść poza zamierzony prefiks i dotrzeć do innych punktów końcowych upstream.

Ocena ryzyka

Atakujący może uzyskać dostęp do nieprzewidzianych zasobów upstream, co głównie narusza poufność, z ograniczonym wpływem na integralność. Ryzyko dotyczy aplikacji ograniczających proxy do prefiksu upstream lub polegających na strażnikach tras.

Rekomendacja

Zaktualizuj @fastify/reply-from do wersji 12.8.1 lub nowszej. Nie ma innego obejścia niż aktualizacja.

Inne podatności w @fastify/reply-from

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions up to and including 12.8.0, the plugin validated proxy paths against forward-slash dot-segments only and then built the target with the WHATWG URL parser, which normalizes a backslash and its percent-encoded form to a forward slash on the http, https, ws, and wss schemes. A path that uses backslash dot-segments therefore bypasses the traversal check and resolves to a different upstream path, so an application that scopes proxying to an upstream prefix, or relies on route guards in front of the forwarding call, can have an unauthenticated request escape the intended prefix and reach other upstream endpoints. The resulting access to unintended upstream resources is primarily a confidentiality impact with limited integrity impact. The issue is fixed in @fastify/reply-from 12.8.1, where the path is normalized and any segment resolving to a single or double dot, along with control characters and ambiguous whitespace, is rejected before the URL is constructed, and users should upgrade to 12.8.1 or later. There is no workaround other than upgrading.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS