WaratekVRT Sign in

CVE-2022-34917 Apache Kafka

Affected softwareApache Kafka
Severity7.5 High CVSS 3.1 2 scores
Fixed in2.8.2, 3.0.2, 3.1.2, 3.2.3
WeaknessUncontrolled resource consumption (CWE-400)
Published20 Sep 2022
Updated17 Jun 2026

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.

CWE-789CWE-770

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.5% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/kafka 14951a8.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2023 ↗ CPU 2023-Q1 Oracle Communications Applications / Security (Apache Kafka) (12.0.0.5.0-12.0.0.7.0)
Oracle Construction and Engineering / Event Streams and Communications (Apache Kafka) (18.8, 19.12, 20.12, 21.12, 22.12)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Applications Security (Apache Kafka) 12.0.0.5.0-12.0.0.7.0
Oracle Construction and Engineering Event Streams and Communications (Apache Kafka) 18.8, 19.12, 20.12, 21.12, 22.12 18.8 · 19.12 · 20.12 · 21.12 · 22.12

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.kafka:kafka 2.8.0 2.8.2 unbounded
org.apache.kafka:kafka 3.0.0 3.0.2 unbounded
org.apache.kafka:kafka 3.1.0 3.1.2 unbounded
org.apache.kafka:kafka 3.2.0 3.2.3 unbounded

Products and versions

2 products, 8 version entries
SourceVendorProductSchemeAffected versions
nvd apache kafka generic ≥ 2.8.0 and < 2.8.2 · ≥ 3.0.0 and < 3.0.2 · ≥ 3.1.0 and < 3.1.2 · ≥ 3.2.0 and < 3.2.3
osv org.apache.kafka kafka generic ≥ 2.8.0 and < 2.8.2 · ≥ 3.0.0 and < 3.0.2 · ≥ 3.1.0 and < 3.1.2 · ≥ 3.2.0 and < 3.2.3

References

URLTags
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 WEB
https://kafka.apache.org/cve-list#CVE-2022-34917 WEB

Timeline

Published2022-09-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.