CVE-2021-38153: apache software foundation apache kafka Observable Discrepancy
Vulnerability summary
CVE-2021-38153 is a medium (CVSS 5.9) Observable Discrepancy vulnerability in apache software foundation apache kafka. EPSS estimates a 6.20% chance of exploitation in the next 30 days, higher than 93.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-09-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Some components in Apache Kafka use `Arrays.equals` to validate a password or key, which is vulnerable to timing attacks that make brute force attacks for such credentials more likely to be successful. Users should upgrade to 2.8.1 or higher, or 3.0.0 or higher where this vulnerability has been fixed. The affected versions include Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, and 2.8.0.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
6.20%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
-0.05 pp
From 6.25% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Oracle6 products
- communications_brm_-_elastic_charging_engine< 12.0.0.4.6 | 12.0.0.5.0
- communications_cloud_native_core_policy1.15.0
- financial_services_analytical_applications_infrastructure≥ 8.0.6.0, ≤ 8.0.9.0 | ≥ 8.1.0.0.0, ≤ 8.1.20
- financial_services_behavior_detection_platform≥ 8.0.6.0.0, ≤ 8.0.8.0 | 8.1.1.0 | 8.1.1.1 | 8.1.2.0
- financial_services_enterprise_case_management8.0.7.1 | 8.0.7.2 | 8.0.8.0 | 8.0.8.1 | 8.1.1.0 | 8.1.1.1
Org.apache.kafka4 products
- kafka_2.11≥ 2.0.0, ≤ 2.4.1
- kafka_2.12≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
- kafka_2.13≥ 2.4.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
- kafka-clients≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | ≥ 2.8.0, < 2.8.1
Apache1 product
- kafkaEOL≥ 2.0.0, < 2.6.3 | ≥ 2.7.0, < 2.7.2 | 2.8.0
Apache software foundation1 product
- apache kafka≥ Apache Kafka 2.0.x, ≤ 2.0.1 | ≥ Apache Kafka 2.1.x, ≤ 2.1.1 | ≥ Apache Kafka 2.2.x, ≤ 2.2.2 | ≥ Apache Kafka 2.3.x, ≤ 2.3.1 | ≥ Apache Kafka 2.4.x, ≤ 2.4.1 | ≥ Apache Kafka 2.5.x, ≤ 2.5.1 | ≥ Apache Kafka 2.6.x, ≤ 2.6.2 | ≥ Apache Kafka 2.7.x, ≤ 2.7.1 | ≥ Apache Kafka 2.8.x, ≤ 2.8.0
Chainguard1 product
- apache-nifi< 1.26.0-r2
Quarkus1 product
- quarkus< 2.2.4
Ubuntu1 product
- kafkaAll versions (No fix recorded)
7 vendors · 15 products
References
23 linksShow all 23 references
- github.com/apache/kafkaPACKAGE