Apache Kafka Security Vulnerabilities

This page lists all security vulnerabilities fixed in released versions of Apache Kafka.

CVE-2022-34917 Unauthenticated clients may cause OutOfMemoryError on brokers

This CVE identified a flaw where it allows the malicious unauthenticated clients to allocate large amounts of memory on brokers. This can lead to brokers hitting OutOfMemoryException and causing denial of service.

Versions affected 2.8.0 - 2.8.1, 3.0.0 - 3.0.1, 3.1.0 - 3.1.1, 3.2.0 - 3.2.1
Fixed versions 2.8.2, 3.0.2, 3.1.2, 3.2.4
Impact Example scenarios in which attacker can cause OutOfMemoryError on brokers
- Kafka cluster without authentication: Any clients able to establish a network connection to a broker can trigger the issue.
- Kafka cluster with SASL authentication: Any clients able to establish a network connection to a broker, without the need for valid SASL credentials, can trigger the issue.
- Kafka cluster with TLS authentication: Only clients able to successfully authenticate via TLS can trigger the issue.
Issue announced 19 Sep 2022