Katalog CVE

CVE-2026-59399

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.46%

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

Streszczenie

DelegatingDeserializer wybiera deserializator na podstawie nagłówka spring.kafka.serialization.selector lub spring.kafka.key.serialization.selector. Gdy selektor nie pasuje do skonfigurowanego delegata, ładowana jest klasa wskazana w nagłówku bez ograniczeń, co pozwala złośliwemu producentowi wpływać na deserializację i ładowanie dowolnych klas.

Ocena ryzyka

Atakujący mogący publikować do tematu może wymusić deserializację danych jako nieoczekiwany typ lub załadowanie dowolnej klasy ze ścieżki klas konsumenta, co może prowadzić do dalszych ataków.

Rekomendacja

Zaktualizuj Spring Kafka do wersji z poprawką i ogranicz możliwość publikowania do tematów konsumowanych przez aplikację.

Inne podatności w Spring Kafka

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

DelegatingDeserializer selects the delegate deserializer for each record from the spring.kafka.serialization.selector (value) or spring.kafka.key.serialization.selector (key) header. When the selector matched no configured delegate, it loaded the class named in the header, without any restriction, and, for a type supported by Kafka's Serdes (such as String or Long ), deserialized the record with the corresponding standard deserializer. Since the producer sets the header, a malicious producer can choose how records are deserialized, regardless of the configured delegates, so that listeners receive data of an unexpected type, and can make the consumer load any class on its classpath. Combined with the selection of the configured delegates by the same header, this can let an attacker apply a delegate to data it was not intended for. An application is affected if it consumes records from a topic that an attacker can produce to and uses DelegatingDeserializer as the key or value deserializer.

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