CVE-2022-34917
HIGH 7.5CVSS 3.1Apache Kafka vulnerability can lead to brokers hitting OutOfMemoryException, causing Denial of Service
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.
- Published
- 20 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-400CWE-770CWE-789
- Also known as
- BIT-kafka-2022-34917GHSA-c9h3-c6qj-hh7q
- Sources
- NVDJSONOSV GHSA-c9h3-c6qj-hh7qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | kafkacpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.2 | 2.8.2 |
| NVD | apache | kafkacpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.2 | 3.0.2 |
| NVD | apache | kafkacpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.2 | 3.1.2 |
| NVD | apache | kafkacpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.3 | 3.2.3 |
| OSV | Maven | org.apache.kafka:kafka | >= 2.8.0, < 2.8.2 | 2.8.2 |
| OSV | Maven | org.apache.kafka:kafka | >= 3.0.0, < 3.0.2 | 3.0.2 |
| OSV | Maven | org.apache.kafka:kafka | >= 3.1.0, < 3.1.2 | 3.1.2 |
| OSV | Maven | org.apache.kafka:kafka | >= 3.2.0, < 3.2.3 | 3.2.3 |
References
- https://kafka.apache.org/cve-list · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34917 · ADVISORY
- https://github.com/apache/kafka/commit/14951a83e3fdead212156e5532359500d72f68bc · WEB
- https://github.com/apache/kafka/commit/2bfa24b2bd416e7b8c4a0c566b984c43904fdecb · WEB
- https://github.com/apache/kafka/commit/aaceb6b79bfcb1d32874ccdbc8f3138d1c1c00fb · WEB
- https://github.com/apache/kafka/commit/c1295662768e64b4467e27c3d5158f95f2307657 · WEB
- https://issues.apache.org/jira/browse/KAFKA-14063 · WEB
- https://kafka.apache.org/cve-list#CVE-2022-34917 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 20 Sep 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Sep 2022)