High

Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service

  • Disclosed: 21.09.2022
  • Updated: 11.10.2026 12:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.kafka: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

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400, CWE-770, CWE-789
Platform
Java / Kotlin (Maven)
Package
org.apache.kafka:kafka
Disclosed
21.09.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c9h3-c6qj-hh7q - CC BY 4.0

Vulnerability history: org.apache.kafka:kafka

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2020 09.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 1

Disclosures per year

  1. 2020: 1
  2. 2021: 0
  3. 2022: 3
  4. 2023: 0
  5. 2024: 0
  6. 2025: 0
  7. 2026: 0
  1. Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service this entry
    High · 7.5 CVE-2022-34917 >= 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
  2. High · 8.8 CVE-2018-17196 >= 0.11.0.0, < 2.1.1 2.1.1
  3. Medium · 5.4 CVE-2018-1288 >= 0.9.0.0, < 0.10.2.2, >= 0.11.0.0, < 0.11.0.3, >= 1.0.0, < 1.0.1 0.10.2.2, 0.11.0.3, 1.0.1
  4. High · 7.5 CVE-2019-12399 >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.2, >= 2.2.0, < 2.2.2, >= 2.3.0, < 2.3.1 2.0.2, 2.1.2, 2.2.2, 2.3.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.