Katalog CVE

CVE-2026-120415

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.30%

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

Streszczenie

W bibliotece undici (klient HTTP dla Node.js) w wersjach 7.0.0–7.30.1 oraz 8.0.0–8.12.3 mechanizm przekierowań nie usuwa wrażliwych nagłówków (Authorization, Cookie, Proxy-Authorization, Host) przy przekierowaniu na inną domenę, jeśli nagłówki żądania podano jako tablicę krotek nazwa-wartość. W połączeniu z interceptorem normalizującym nagłówki (cache, deduplicate) dochodzi do ujawnienia poświadczeń powiązanych z domeną źródłową niepowiązanemu celowi przekierowania.

Ocena ryzyka

Atakujący może wymusić przekierowanie i przechwycić poświadczenia lub ciasteczka użytkownika, co prowadzi do przejęcia sesji lub nieautoryzowanego dostępu do chronionych zasobów. Ryzyko dotyczy aplikacji Node.js używających undici z przekierowaniami i kompozycją interceptorów.

Rekomendacja

Zaktualizuj undici do wersji 7.30.2 lub 8.12.4 (lub nowszej). Jako obejście podawaj nagłówki jako zwykły obiekt lub płaską tablicę nazwa-wartość zamiast tablicy krotek, albo umieść interceptor przekierowań poza interceptorem normalizującym.

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.1 and 8.0.0 through 8.12.3, the redirect interceptor strips sensitive headers such as Authorization, Cookie, Proxy-Authorization, and Host when a request is redirected to a different origin, but when request headers are supplied as an array of name and value tuples (a valid documented input, for example from Object.entries), the redirect handler misreads them as a flat list so the header names never match and the sensitive headers are not removed. If a header-normalizing interceptor such as cache or deduplicate is composed outside the redirect interceptor, it then serializes the retained headers onto the cross-origin request, disclosing the caller's origin-bound credentials to the unrelated redirect destination. This is a representation-dependent bypass of the cross-origin header stripping added in CVE-2024-30260. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, supply request headers as a plain object or a flat name and value array rather than an array of tuples, or compose the redirect interceptor outside the normalizing interceptor.

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