Skip to content
OpenAdvisories

Product · Spring

Spring for Apache Kafka

6 known vulnerabilities.

5 results · Clear filters · Feed

  • Medium 6.5

    In Spring for Apache Kafka, missing header validation in DeadLetterPublishingRecovererFactory enables denial of service via a poison-pill loop

    DeadLetterPublishingRecovererFactory reads the retry_topic-original-timestamp header from an inbound ConsumerRecord and passes its raw bytes directly to new BigInteger(header.value()) with no length or format validation. Spring for Apache Kafka 4.1.0 Spring f…

  • Medium 6.5

    In Spring for Apache Kafka, SSRF via DNS resolution triggered by untrusted java.net types in header mapper default trusted packages

    JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper include java.net in their default trusted packages list. When these mappers are used — which is the default configuration for all @KafkaListener consumers — an external Kafka producer can inject a java.net.In…

  • Medium 6.5

    In Spring for Apache Kafka, forged retry topic headers subvert retry routing and backoff behavior

    Spring Kafka's retry topic infrastructure did not sufficiently validate user-controlled header values before acting on them. A producer could send a record with a crafted retry_topic-attempts header to supply an out-of-range attempt count and cause the retry …

  • Medium 6.5

    In Spring for Apache Kafka, unbounded delegate cache keyed on user-controlled, potentially malicious selector header

    When an application opts into DelegatingDeserializer, a producer can grow the consumer's heap without bound by sending records with unique random spring.kafka.serialization.selector header values, eventually causing GC thrash and OutOfMemoryError. Affected ve…

  • Medium 5.3
    CVE-2023-34040 Public exploit

    Java Deserialization vulnerability in Spring-Kafka When Improperly Configured

    In Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, a possible deserialization attack vector existed, but only if unusual configuration was applied. An attacker would have to construct a malicious serialized object in one of the dese…