Katalog CVE

CVE-2026-59331

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.54%

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

Streszczenie

Wsparcie RSocket w Spring Security zawiera BasicAuthenticationPayloadExchangeConverter, który dekoduje nazwę użytkownika i hasło z niestandardowej ramki Basic Authentication. Dekoder odczytywał pole długości z metadanych i używał go bezpośrednio do rozmiaru alokacji pamięci, bez walidacji, czy wartość jest rozsądna i nieujemna względem dostępnych danych. Pojedyncza spreparowana ramka uwierzytelniania może spowodować próbę ekstremalnie dużej alokacji.

Ocena ryzyka

Nieuwierzytelniony atakujący mogący otworzyć połączenie z punktem końcowym RSocket może wyczerpać dostępną pamięć serwera, powodując odmowę usługi. Dotyczy to aplikacji używających domyślnego konwertera uwierzytelniania w RSocket.

Rekomendacja

Zaktualizuj Spring Security do wersji z poprawką lub nadpisz konwerter uwierzytelniania w AuthenticationPayloadInterceptor. Ogranicz dostęp do punktów końcowych RSocket do zaufanych sieci.

Inne podatności w Spring Security

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

Spring Security's RSocket support includes BasicAuthenticationPayloadExchangeConverter , which decodes username and password metadata from a non-standard RSocket Basic Authentication frame. The decoder read a length field from the incoming metadata and used it directly to size a memory allocation, without validating that the value was a reasonable, non-negative size relative to the data actually available. A single crafted authentication frame could therefore cause the server to attempt an extremely large allocation. Preconditions : The application uses Spring Security's RSocket support with an AuthenticationPayloadInterceptor that has not had its authentication converter overridden, leaving BasicAuthenticationPayloadExchangeConverter in effect as its default — as is the case, for example, with the deprecated RSocketSecurity#basicAuthentication configuration. The RSocket endpoint is reachable by the attacker. An unauthenticated attacker who can open a connection to the RSocket endpoint can exhaust available memory on the server, resulting in a denial of service.

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