Katalog CVE

CVE-2026-141996

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.26%

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

Streszczenie

undici w wersjach 6.8.0–6.29.1, 7.0.0–7.30.3 i 8.0.0–8.14.0 ma błąd w interceptatorze przekierowań: przy przekierowaniu cross-origin zachowuje servername TLS pierwszego żądania, więc certyfikat celu jest walidowany względem nazwy pierwszego hosta. Strona posiadająca ważny certyfikat dla pierwszego hosta może podszyć się pod cel i przechwycić lub zmodyfikować przekierowane żądanie i odpowiedź.

Ocena ryzyka

Atakujący może przechwycić lub zmodyfikować ruch przekierowany do celu, co może prowadzić do wycieku danych lub wstrzyknięcia treści.

Rekomendacja

Zaktualizuj undici do wersji 6.29.2, 7.30.4 lub 8.14.1 (lub nowszej). Jako obejście umieść interceptator dns wewnątrz interceptatora przekierowań i nie przekazuj servername w żądaniach z przekierowaniami.

Inne podatności w undici

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

undici is an HTTP client for Node.js. In versions 6.8.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0, the redirect interceptor builds each follow-up request from the options of the previous one and, on a cross-origin redirect, kept the TLS servername of the first request, so the redirect target's certificate was validated against the first host's name instead of its own. Applications are affected when they follow redirects with the redirect interceptor and the first request carries a servername, either passed as a request option or set by the dns interceptor composed outside the redirect interceptor, and requests sent through a ProxyAgent tunnel without requestTls are affected in the same way, while fetch is not affected. A party that holds a valid certificate for the first host and can intercept traffic to the redirect target can impersonate the target and read or modify the redirected request and its response. The issue is fixed in undici 6.29.2, 7.30.4, and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, compose the dns interceptor inside the redirect interceptor and do not pass a servername on requests that follow redirects, or disable automatic redirects and follow them in application code.

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