Live threats

All CVEs / Apache

CVE-2022-34917Apache Kafka

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Sep 20, 2022
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-789, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kafka.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.kafka:kafka ≥ 2.8.0 < 2.8.2 2.8.2 —
Maven org.apache.kafka:kafka ≥ 3.0.0 < 3.0.2 3.0.2 —
Maven org.apache.kafka:kafka ≥ 3.1.0 < 3.1.2 3.1.2 —
Maven org.apache.kafka:kafka ≥ 3.2.0 < 3.2.3 3.2.3 —

Per OSV / GitHub Advisories (GHSA-c9h3-c6qj-hh7q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachekafka≥ 2.8.0 < 2.8.2
apachekafka≥ 3.0.0 < 3.0.2
apachekafka≥ 3.1.0 < 3.1.2
apachekafka≥ 3.2.0 < 3.2.3

Official sources

References

Links published by the sources. Open them with care.