# CVE-2024-56128: Apache Kafka's SCRAM implementation Incorrectly Implements Authentication Algorithm

Source: https://junglewise.ai/threats/cve-2024-56128-apache-kafka-s-scram-implementation-incorrectly-implements  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-18  
License: CC BY 4.0 with a link back

CVE-2024-56128 · Severity: low · CVSS 3.1 · Published 2024-12-18

Apache Kafka's SCRAM implementation Incorrectly Implements Authentication Algorithm

Technologies: [org.apache.kafka:kafka_2.11 (Maven)](https://junglewise.ai/threats/technologies/org-apache-kafka-kafka-2-11), [org.apache.kafka:kafka_2.12 (Maven)](https://junglewise.ai/threats/technologies/org-apache-kafka-kafka-2-12), [org.apache.kafka:kafka_2.13 (Maven)](https://junglewise.ai/threats/technologies/org-apache-kafka-kafka-2-13). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-56128 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-56128 being exploited in the wild.

**How severe is CVE-2024-56128?** Low severity, with a CVSS score of 3.1, published 18 December 2024.

**Which products and versions are affected?** org.apache.kafka:kafka_2.10 (Maven) ECOSYSTEM:introduced=0.10.2.0,last_affected=0.10.2.2; org.apache.kafka:kafka_2.11 (Maven) ECOSYSTEM:introduced=0.10.2.0,last_affected=2.4.1; org.apache.kafka:kafka_2.12 (Maven) ECOSYSTEM:introduced=0.10.2.0,fixed=3.7.2; org.apache.kafka:kafka_2.13 (Maven) ECOSYSTEM:introduced=0.10.2.0,fixed=3.7.2.

**Is there a fix for CVE-2024-56128?** Yes. org.apache.kafka:kafka_2.12 (Maven): upgrade to 3.7.2 or later; org.apache.kafka:kafka_2.13 (Maven): upgrade to 3.7.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-56128?** Check whether you run org.apache.kafka:kafka_2.10 (Maven), org.apache.kafka:kafka_2.11 (Maven), org.apache.kafka:kafka_2.12 (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.kafka:kafka_2.12 (Maven): upgrade to 3.7.2 or later

  ```sh
  # set org.apache.kafka:kafka_2.12 to 3.7.2 in your pom.xml or build.gradle
  ```

- org.apache.kafka:kafka_2.13 (Maven): upgrade to 3.7.2 or later

  ```sh
  # set org.apache.kafka:kafka_2.13 to 3.7.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.kafka:kafka_2.10 (Maven) ECOSYSTEM:introduced=0.10.2.0,last_affected=0.10.2.2
- org.apache.kafka:kafka_2.11 (Maven) ECOSYSTEM:introduced=0.10.2.0,last_affected=2.4.1
- org.apache.kafka:kafka_2.12 (Maven) ECOSYSTEM:introduced=0.10.2.0,fixed=3.7.2
- org.apache.kafka:kafka_2.13 (Maven) ECOSYSTEM:introduced=0.10.2.0,fixed=3.7.2

## Identifiers

- CVE-2024-56128
- GHSA-p7c9-8xx8-h74f

## Related threats

- [Apache Kafka Deserialization of Untrusted Data vulnerability](https://junglewise.ai/threats/cve-2025-27819-apache-kafka-deserialization-of-untrusted-data-vulnerability)
- [Apache Kafka Deserialization of Untrusted Data vulnerability](https://junglewise.ai/threats/cve-2025-27818-apache-kafka-deserialization-of-untrusted-data-vulnerability)
- [Observable Discrepancy in Apache Kafka](https://junglewise.ai/threats/cve-2021-38153-observable-discrepancy-in-apache-kafka)
