Katalog CVE

CVE-2026-139823

ŚrednieCVSS 4.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

Percentyl 7 - wyżej niż 7% wszystkich znanych CVE

Streszczenie

undici, klient HTTP dla Node.js, w wersjach 7.0.0–7.30.3 i 8.0.0–8.14.0 ma problem z interceptorem cache, który wyszukuje i zapisuje odpowiedzi według origin, metody i ścieżki żądania, podczas gdy undici wysyła jawny nagłówek Host zgodnie z podaną wartością. Gdy aplikacja wysyła żądania dla kilku hostów do jednego origin, ustawiając nagłówek Host, odpowiedź z cache dla jednego hosta jest przechowywana pod wspólnym kluczem origin i serwowana późniejszemu żądaniu dla innego hosta bez kontaktu z serwerem.

Ocena ryzyka

Może dojść do ujawnienia odpowiedzi jednego hosta wywołującym innego hosta, a osoba kontrolująca nagłówek Host jednego żądania może wybrać odpowiedź, którą otrzymają inne żądania do tego samego origin i ścieżki.

Rekomendacja

Zaktualizuj undici do wersji 7.30.4 lub 8.14.1 bądź nowszej i wyczyść trwałe magazyny cache wypełnione przed aktualizacją; jako obejście nie używaj interceptora cache na dispatcherach wysyłających jawny nagłówek Host dla innego hosta lub używaj osobnego dispatchera i magazynu cache per host.

Inne podatności w undici

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

undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the cache interceptor looks up and stores responses by the request's origin, method, and path, while undici sends an explicit Host request header to the server as given. When an application sends requests for several hosts to one origin by setting the Host header, a cacheable response for one host is stored under the shared origin key and served to a later request for a different host without that request reaching the server. This can disclose one host's response to callers of another, and lets a caller who controls the Host header of one request choose the response that other requests to the same origin and path receive. Applications are affected only when they use the cache interceptor and send requests whose Host header names a different authority than the request origin, and responses that include a Vary header on Host are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later and clear persistent cache stores populated before upgrading. As a workaround, do not use the cache interceptor on dispatchers that send an explicit Host header for a different host, use a separate dispatcher and cache store per host, or have the server send a Vary header on Host.

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