Katalog CVE

CVE-2026-125109

ŚrednieCVSS 4.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Rack to modularny interfejs serwera WWW dla Ruby. Od wersji 3.0 do 3.1.23 i 3.2.8 metody Rack::Request#host_with_port, #base_url i #url mogą zwracać kontrolowany przez atakującego nieprawidłowy authority z nagłówków Host, X-Forwarded-Host lub Forwarded: host= bez weryfikacji. Aplikacje bez niezależnej listy dozwolonych hostów mogą emitować separatory wybrane przez atakującego.

Ocena ryzyka

Może to umożliwić manipulację przekierowaniami, obejście list dozwolonych opartych na ciągach znaków lub odbicie nieescapowanego znacznika, co prowadzi do ataków phishingowych lub XSS.

Rekomendacja

Zaktualizuj Rack do wersji 3.1.23 lub 3.2.8 (lub nowszej). W aplikacjach korzystających z tych metod stosuj niezależną listę dozwolonych hostów.

Inne podatności w Rack

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

Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or Forwarded: host= verbatim. Applications without an independent host allowlist that use these methods for absolute URLs, redirects, or origin-dependent checks can emit attacker-chosen delimiters, enabling redirect manipulation, string-based allowlist bypass, or unescaped markup reflection. Rails overrides these methods and is not expected to be affected. This issue is fixed in versions 3.1.23 and 3.2.8.

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