CVE-2022-34917 json
Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers
published 2022-09-20 4 y ago modified 2026-09-08 2 mo ago also BIT-kafka-2022-34917 , EUVD-2022-6777 , GHSA-c9h3-c6qj-hh7q
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.kafka:kafka 2.8.2, 3.0.2, 3.1.2, 3.2.3
- bitnami kafka 2.8.2, 3.0.2, 3.1.2, 3.2.3
- apache kafka 2.8.2, 3.0.2, 3.1.2, 3.2.3
- github.com/apache/kafka@14951a8 commit
- github.com/apache/kafka@2bfa24b commit
- github.com/apache/kafka@aaceb6b commit
- github.com/apache/kafka@c129566 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-34917 updated cvss 7.5
Kafka: Unauthenticated clients may cause OutOfMemoryError on brokers
-
Red Hat AMQ Streams 2.2.0fixed: vendor fix RHSA-2022:6819
-
Red Hat build of Quarkus kafkanot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| 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 |
| bitnami | 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 |
Affected products
- Apache Software Foundation Apache Kafka
Classification
References
-
github.com
/apache/kafka/commit/14951a83e3fdead212156e5532359500d72f68bc
web
-
github.com
/apache/kafka/commit/2bfa24b2bd416e7b8c4a0c566b984c43904fdecb
web
-
github.com
/apache/kafka/commit/aaceb6b79bfcb1d32874ccdbc8f3138d1c1c00fb
web
-
github.com
/apache/kafka/commit/c1295662768e64b4467e27c3d5158f95f2307657
web
-
kafka.apache.org
/cve-list
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-34917
advisory, web
-
issues.apache.org
/jira/browse/KAFKA-14063
web
-
kafka.apache.org
/cve-list#CVE-2022-34917
web
Sources
- CVE List CVE-2022-34917
- GitHub Advisory GHSA-c9h3-c6qj-hh7q
- NVD CVE-2022-34917
- OSV BIT-kafka-2022-34917
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.