Katalog CVE

CVE-2026-82755

ŚrednieCVSS 6.3
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Podatność w ash_authentication_oauth2_server pozwala współdzielonej pamięci podręcznej HTTP na serwowanie metadanych OAuth jednego dzierżawcy klientom innego dzierżawcy. Odpowiedzi z metadanymi są oznaczone jako Cache-Control: public bez nagłówka Vary, co powoduje, że odpowiedzi są przechowywane i serwowane innym dzierżawcom.

Ocena ryzyka

Klienci mogą otrzymać błędne metadane, co może prowadzić do wysyłania kodów autoryzacyjnych i sekretów do niewłaściwego punktu końcowego tokena oraz walidacji tokenów przy użyciu niewłaściwych kluczy.

Rekomendacja

Zaktualizuj ash_authentication_oauth2_server do wersji 0.3.1 lub nowszej, która zawiera poprawkę dodającą nagłówek Vary lub odpowiednie dyrektywy cache.

Inne podatności w ash_authentication_oauth2_server

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

Use of Cache Containing Sensitive Information vulnerability in ash-project ash_authentication_oauth2_server allows a shared HTTP cache to serve one tenant's OAuth discovery metadata to another tenant's clients. The RFC 8414 and RFC 9728 metadata endpoints in AshAuthentication.Phoenix.Oauth2Server.ProtocolRouter return tenant-specific values (issuer, authorization_endpoint, token_endpoint, jwks_uri) when a tenant is set, but sent them with Cache-Control: public, max-age=3600 and no Vary. When the tenant is derived from something other than the URL (a header or the Host) and a shared cache sits in front, the cache key is the URL alone, so a stored response for one tenant is served to another for up to an hour. Affected clients may then send authorization codes and secrets to the wrong tenant's token endpoint and validate tokens against the wrong keys. This issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.

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