Skip to content

CVE-2022-34917 Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers

HighCVSS 7.5 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

A security vulnerability has been identified in Apache Kafka. It affects all releases since 2.8.0. The vulnerability allows malicious unauthenticated clients to allocate large amounts of memory on brokers. This can lead to brokers hitting OutOfMemoryException and causing denial of service. Example scenarios: - 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. We advise the users to upgrade the Kafka installations to one of the 3.2.3, 3.1.2, 3.0.2, 2.8.2 versions.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
apache kafka >= 2.8.0, < 2.8.2; >= 3.0.0, < 3.0.2; >= 3.1.0, < 3.1.2; >= 3.2.0, < 3.2.3 2.8.2, 3.0.2, 3.1.2, 3.2.3 Fixed
org.apache.kafka/kafka(Maven) >= 2.8.0, < 2.8.2; >= 3.0.0, < 3.0.2; >= 3.1.0, < 3.1.2; >= 3.2.0, < 3.2.3 2.8.2, 3.0.2, 3.1.2, 3.2.3 Fixed
Apache Kafka = Apache Kafka 2.8.0 2.8.0; = Apache Kafka 2.8.1 2.8.1; = Apache Kafka 3.0.0 3.0.0; = Apache Kafka 3.0.1 3.0.1 +4 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.kafka/kafka(Maven) >= 2.8.0, < 2.8.2 2.8.2
org.apache.kafka/kafka(Maven) >= 3.0.0, < 3.0.2 3.0.2
org.apache.kafka/kafka(Maven) >= 3.1.0, < 3.1.2 3.1.2
org.apache.kafka/kafka(Maven) >= 3.2.0, < 3.2.3 3.2.3
Apache Kafka = Apache Kafka 2.8.0 2.8.0 No fix listed
Apache Kafka = Apache Kafka 2.8.1 2.8.1 No fix listed
Apache Kafka = Apache Kafka 3.0.0 3.0.0 No fix listed
Apache Kafka = Apache Kafka 3.0.1 3.0.1 No fix listed
Apache Kafka = Apache Kafka 3.1.0 3.1.0 No fix listed
Apache Kafka = Apache Kafka 3.1.1 3.1.1 No fix listed
Apache Kafka = Apache Kafka 3.2.0 3.2.0 No fix listed
Apache Kafka = Apache Kafka 3.2.1 3.2.1 No fix listed
apache kafka >= 2.8.0, < 2.8.2 2.8.2
apache kafka >= 3.0.0, < 3.0.2 3.0.2
apache kafka >= 3.1.0, < 3.1.2 3.1.2
apache kafka >= 3.2.0, < 3.2.3 3.2.3

References