CVE-2022-34917
JSON

7.5high

Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.60% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-c9h3-c6qj-hh7qBIT-KAFKA-2022-34917

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache KafkaApache 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, Apache Kafka 3.1.0 3.1.0, Apache Kafka 3.1.1 3.1.1, Apache Kafka 3.2.0 3.2.0, Apache Kafka 3.2.1 3.2.1CVE List
org.apache.kafka:kafka (Maven)from 2.8.0 before 2.8.2, from 3.0.0 before 3.0.2, from 3.1.0 before 3.1.2, from 3.2.0 before 3.2.3GitHub Advisory Database
apache kafkafrom 2.8.0 before 2.8.2, from 3.0.0 before 3.0.2, from 3.1.0 before 3.1.2, from 3.2.0 before 3.2.3NVD
kafka (Bitnami)from 2.8.0 before 2.8.2, from 3.0.0 before 3.0.2, from 3.1.0 before 3.1.2, from 3.2.0 before 3.2.3Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-400CWE-770CWE-789

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se ha identificado una vulnerabilidad de seguridad en Apache Kafka. Afecta a todas las versiones desde la 2.8.0. La vulnerabilidad permite a clientes maliciosos no autenticados asignar grandes cantidades de memoria en los brokers. Esto puede conllevar a que los brokers sufran una OutOfMemoryException y causar una denegación de servicio. Ejemplos de escenarios: - Cluster Kafka sin autenticación: Cualquier cliente capaz de establecer una conexión de red con un broker puede desencadenar el problema. - Clúster Kafka con autenticación SASL: Cualquier cliente capaz de establecer una conexión de red con un broker, sin necesidad de credenciales SASL válidas, puede desencadenar el problema. - Clúster Kafka con autenticación TLS: Sólo los clientes capaces de autenticarse con éxito por medio de TLS pueden desencadenar el problema. REcomendamos a usuarios actualizar las instalaciones de Kafka a una de las versiones 3.2.3, 3.1.2, 3.0.2, 2.8.2

References

Sources

SourceRecordLicence
CVE ListCVE-2022-34917 changed 2025-05-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-c9h3-c6qj-hh7q changed 2024-05-08CC-BY-4.0
NVDCVE-2022-34917 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KAFKA-2022-34917 changed 2026-09-08Apache-2.0