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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation 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, 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.1 | CVE 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.3 | GitHub Advisory Database |
| apache kafka | 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.3 | NVD |
| 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.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-34917 changed 2025-05-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c9h3-c6qj-hh7q changed 2024-05-08 | CC-BY-4.0 |
| NVD | CVE-2022-34917 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KAFKA-2022-34917 changed 2026-09-08 | Apache-2.0 |