CVE-2022-34917: apache software foundation apache kafka
Vulnerability summary
CVE-2022-34917 is a high (CVSS 7.5) vulnerability in apache software foundation apache kafka. EPSS estimates a 1.49% chance of exploitation in the next 30 days, higher than 73.7% of scored vulnerabilities.
Timeline
- 20-09-2022PublishedVulnerability first disclosed.
- 29-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.49%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
+0.01 pp
From 1.49% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-789Memory Allocation with Excessive Size ValueThe product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Apache1 product
- 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
Apache software foundation1 product
- 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.1
Org.apache.kafka1 product
- 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
3 vendors · 3 products