Katalog CVE

CVE-2025-69202

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.32%

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

Streszczenie

Axios Cache Interceptor to biblioteka buforująca dla axios. W wersjach przed 1.11.1, gdy serwer wywołuje usługę nadrzędną używając różnych tokenów autoryzacyjnych, biblioteka zwraca nieprawidłowe odpowiedzi z pamięci podręcznej, co prowadzi do obejścia autoryzacji. Klucz pamięci podręcznej jest generowany tylko na podstawie URL, ignorując nagłówki takie jak Authorization. Po wersji 1.11.1 automatyczna obsługa nagłówka Vary jest domyślnie włączona.

Ocena ryzyka

Aplikacje serwerowe używające axios-cache-interceptor do buforowania żądań do usług nadrzędnych mogą zwracać nieprawidłowe dane z pamięci podręcznej, omijając kontrolę autoryzacji i ujawniając dane użytkowników między różnymi sesjami. Aplikacje przeglądarkowe (jednoużytkownikowe) nie są zagrożone.

Rekomendacja

Zaktualizuj axios-cache-interceptor do wersji 1.11.1 lub nowszej, która domyślnie obsługuje nagłówek Vary i uwzględnia token autoryzacyjny w kluczu pamięci podręcznej. Upewnij się, że usługi nadrzędne prawidłowo ustawiają nagłówek Vary: Authorization.

Powiązane podatności

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

Axios Cache Interceptor is a cache interceptor for axios. Prior to version 1.11.1, when a server calls an upstream service using different auth tokens, axios-cache-interceptor returns incorrect cached responses, leading to authorization bypass. The cache key is generated only from the URL, ignoring request headers like `Authorization`. When the server responds with `Vary: Authorization` (indicating the response varies by auth token), the library ignores this, causing all requests to share the same cache regardless of authorization. Server-side applications (APIs, proxies, backend services) that use axios-cache-interceptor to cache requests to upstream services, handle requests from multiple users with different auth tokens, and upstream services replies on `Vary` to differentiate caches are affected. Browser/client-side applications (single user per browser session) are not affected. Services using different auth tokens to call upstream services will return incorrect cached data, bypassing authorization checks and leaking user data across different authenticated sessions. After `v1.11.1`, automatic `Vary` header support is now enabled by default. When server responds with `Vary: Authorization`, cache keys now include the authorization header value. Each user gets their own cache.

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