sadrobot

← Vissza a havi listához

CVE-2026-120213 @fastify/http-proxy · @fastify/http-proxy

9.1 Kritikus

MI-összefoglaló

A @fastify/http-proxy 9.0.0–11.6.5 verzióiban a paraméterezett prefix és rewritePrefix beállítás esetén a dekódolt útvonalparaméterek újrakódolás nélkül kerülnek a rewritePrefix értékébe. Így távoli, hitelesítés nélküli támadó a szándékolt prefixen kívüli upstream útvonalakat is elérheti. Ez az upstreamtől függően útvonalkorlátozás-megkerüléshez, SSRF-hez vagy jogosultsági megkerüléshez vezethet. Kritikus (CVSS 9.1): frissítsen a 11.6.6-os vagy újabb verzióra, más megkerülő megoldás nincs.

Hivatalos leírás

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

Megjelent
2026-11-02 11:17 UTC
Módosítva
2026-11-02 17:17 UTC
CVSS
9.1 Kritikus CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.83% (percentilis 55)
ENISA EUVD
EUVD-2026-115117
CISA SSVC
Kihasználás: none · Automatizálható: yes · Technikai hatás: total
CWE
CWE-22

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
nem kell
Felhasználói közreműködés
nem kell
Hatókör
változatlan
Bizalmasság
magas
Sértetlenség
magas
Rendelkezésre állás
nincs

Hivatkozások