WaratekVRT Sign in

CVE-2024-56128 Apache Kafka

Affected softwareApache Kafka
Severity5.3 Medium CVSS 3.1
Fixed in3.7.2, 3.8.1
WeaknessCWE-303
Published18 Dec 2024
Updated17 Jun 2026

Description

Incorrect Implementation of Authentication Algorithm in Apache Kafka's SCRAM implementation. Issue Summary: Apache Kafka's implementation of the Salted Challenge Response Authentication Mechanism (SCRAM) did not fully adhere to the requirements of RFC 5802 [1]. Specifically, as per RFC 5802, the server must verify that the nonce sent by the client in the second message matches the nonce sent by the server in its first message. However, Kafka's SCRAM implementation did not perform this validation. Impact: This vulnerability is exploitable only when an attacker has plaintext access to the SCRAM authentication exchange. However, the usage of SCRAM over plaintext is strongly discouraged as it is considered an insecure practice [2]. Apache Kafka recommends deploying SCRAM exclusively with TLS encryption to protect SCRAM exchanges from interception [3]. Deployments using SCRAM with TLS are not affected by this issue. How to Detect If You Are Impacted: If your deployment uses SCRAM authentication over plaintext communication channels (without TLS encryption), you are likely impacted. To check if TLS is enabled, review your server.properties configuration file for listeners property. If you have SASL_PLAINTEXT in the listeners, then you are likely impacted. Fix Details: The issue has been addressed by introducing nonce verification in the final message of the SCRAM authentication exchange to ensure compliance with RFC 5802. Affected Versions: Apache Kafka versions 0.10.2.0 through 3.9.0, excluding the fixed versions below. Fixed Versions: 3.9.0 3.8.1 3.7.2 Users are advised to upgrade to 3.7.2 or later to mitigate this issue. Recommendations for Mitigation: Users unable to upgrade to the fixed versions can mitigate the issue by: - Using TLS with SCRAM Authentication: Always deploy SCRAM over TLS to encrypt authentication exchanges and protect against interception. - Considering Alternative Authentication Mechanisms: Evaluate alternative authentication mechanisms, such as PLAIN, Kerberos or OAuth with TLS, which provide additional layers of security.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.82% 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 2cbc5bd.

  • 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.

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle SQL Developer / Installation (Apache Kafka) (19.3-24.3)
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Communications Applications / Common Functions (Apache Kafka) (12.0.3.0.0-12.0.6.0.0, 15.0.0.0.0-15.0.1.0.0, 15.1.0.0.0)
Oracle Communications Applications / Core (Apache Kafka) (6.0.5-6.1.0)
Oracle Communications Applications / NGW (Apache Kafka) (12.0.3.0.0-12.0.6.0.0, 15.0.0.0.0-15.0.1.0.0, 15.1.0.0.0)
Oracle Financial Services Applications / Maintenance (Apache Kafka) (14.4.0.0.0-14.7.0.0.0)
Oracle Critical Patch Update April 2025 ↗ CPU 2025-Q2 Oracle Communications / Security (Apache Kafka) (24.1.0-24.3.0)
Oracle Communications Applications / Platform (Apache Kafka) (12.0.0.4.0-12.0.0.8.0, 15.0.0.0.0, 15.0.1.0.0)
Oracle Communications Applications / Security (Apache Kafka) (7.5.1, 7.6.0, 7.7.0)
Oracle Financial Services Applications / IDM Authentication (Apache Kafka) (22.1.0.0.0, 22.2.0.0.0)
Oracle Financial Services Applications / User Interface (Apache Kafka) (22.1.0.0.0, 22.2.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Security (Apache Kafka) 24.1.0-24.3.0
Oracle Communications Applications Common Functions (Apache Kafka) 12.0.3.0.0-12.0.6.0.0, 15.0.0.0.0-15.0.1.0.0, 15.1.0.0.0 15.1.0.0.0
Oracle Communications Applications Core (Apache Kafka) 6.0.5-6.1.0
Oracle Communications Applications NGW (Apache Kafka) 12.0.3.0.0-12.0.6.0.0, 15.0.0.0.0-15.0.1.0.0, 15.1.0.0.0 15.1.0.0.0
Oracle Communications Applications Platform (Apache Kafka) 12.0.0.4.0-12.0.0.8.0, 15.0.0.0.0, 15.0.1.0.0 15.0.0.0.0 · 15.0.1.0.0
Oracle Communications Applications Security (Apache Kafka) 7.5.1, 7.6.0, 7.7.0 7.5.1 · 7.6.0 · 7.7.0
Oracle Financial Services Applications IDM Authentication (Apache Kafka) 22.1.0.0.0, 22.2.0.0.0 22.1.0.0.0 · 22.2.0.0.0
Oracle Financial Services Applications Maintenance (Apache Kafka) 14.4.0.0.0-14.7.0.0.0
Oracle Financial Services Applications User Interface (Apache Kafka) 22.1.0.0.0, 22.2.0.0.0 22.1.0.0.0 · 22.2.0.0.0
Oracle SQL Developer Installation (Apache Kafka) 19.3-24.3

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.kafka:kafka_2.13 0.10.2.0 3.7.2 unbounded
org.apache.kafka:kafka_2.13 3.8.0 3.8.1 unbounded
org.apache.kafka:kafka_2.12 0.10.2.0 3.7.2 unbounded
org.apache.kafka:kafka_2.12 3.8.0 3.8.1 unbounded
org.apache.kafka:kafka_2.11 0.10.2.0 none 2.4.1
org.apache.kafka:kafka_2.10 0.10.2.0 none 0.10.2.2

Products and versions

5 products, 8 version entries
SourceVendorProductSchemeAffected versions
nvd apache kafka generic ≥ 0.10.2.0 and < 3.7.2 · 3.8.0
osv org.apache.kafka kafka_2.10 generic ≥ 0.10.2.0 and ≤ 0.10.2.2
osv org.apache.kafka kafka_2.11 generic ≥ 0.10.2.0 and ≤ 2.4.1
osv org.apache.kafka kafka_2.12 generic ≥ 0.10.2.0 and < 3.7.2 · ≥ 3.8.0 and < 3.8.1
osv org.apache.kafka kafka_2.13 generic ≥ 0.10.2.0 and < 3.7.2 · ≥ 3.8.0 and < 3.8.1

References

URLTags
https://github.com/apache/kafka/commit/2cbc5bd3ca22185d9cd357c9db23a2cfb43a0fff WEB
https://datatracker.ietf.org/doc/html/rfc5802 WEB
https://datatracker.ietf.org/doc/html/rfc5802#section-9 WEB
https://github.com/apache/kafka PACKAGE
https://kafka.apache.org/documentation/#security_sasl_scram_security WEB
https://lists.apache.org/thread/84dh4so32lwn7wr6c5s9mwh381vx9wkw WEB
http://www.openwall.com/lists/oss-security/2024/12/18/3 WEB

Timeline

Published2024-12-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.