5.9medium
Timing Attack Vulnerability for Apache Kafka Connect and Clients
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 5.47% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-3j6g-hxx5-3q26BIT-KAFKA-2021-38153
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Kafka | from Apache Kafka 2.0.x up to 2.0.1, from Apache Kafka 2.1.x up to 2.1.1, from Apache Kafka 2.2.x up to 2.2.2, from Apache Kafka 2.3.x up to 2.3.1, from Apache Kafka 2.4.x up to 2.4.1, from Apache Kafka 2.5.x up to 2.5.1, from Apache Kafka 2.6.x up to 2.6.2, from Apache Kafka 2.7.x up to 2.7.1 and 1 more | CVE List |
| org.apache.kafka:kafka_2.11 (Maven) | from 2.0.0 up to 2.4.1 | GitHub Advisory Database |
| org.apache.kafka:kafka_2.12 (Maven) | from 2.0.0 before 2.6.3, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1 | GitHub Advisory Database |
| org.apache.kafka:kafka_2.13 (Maven) | from 2.4.0 before 2.6.3, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1 | GitHub Advisory Database |
| org.apache.kafka:kafka-clients (Maven) | from 2.0.0 before 2.6.3, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1 | GitHub Advisory Database |
| apache kafka | from 2.0.0 before 2.6.3, from 2.7.0 before 2.7.2, 2.8.0 | NVD |
| quarkus quarkus | before 2.2.4 | NVD |
| oracle communications_brm_-_elastic_charging_engine | before 12.0.0.4.6, 12.0.0.5.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.15.0 | NVD |
| oracle financial_services_analytical_applications_infrastructure | from 8.0.6.0 up to 8.0.9.0, from 8.1.0.0.0 up to 8.1.20 | NVD |
| oracle financial_services_behavior_detection_platform | from 8.0.6.0.0 up to 8.0.8.0, 8.1.1.0, 8.1.1.1, 8.1.2.0 | NVD |
| oracle financial_services_enterprise_case_management | 8.0.7.1, 8.0.7.2, 8.0.8.0, 8.0.8.1, 8.1.1.0, 8.1.1.1 | NVD |
| oracle primavera_unifier | 18.8, 19.12, 20.12, 21.12 | NVD |
| kafka (Bitnami) | from 2.0.0 before 2.6.3, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Algunos componentes de Apache Kafka usan "Arrays.equals" para comprender una contraseña o clave, lo cual es vulnerable a ataques de tiempo que hacen que los ataques de fuerza bruta para dichas credenciales tengan más probabilidades de éxito. Los usuarios deben actualizar a la versión 2.8.1 o superior, o a la 3.0.0 o superior, donde se ha corregido esta vulnerabilidad. Las versiones afectadas son 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 y 2.8.0
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-38153 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3j6g-hxx5-3q26 changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2021-38153 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KAFKA-2021-38153 changed 2026-09-08 | Apache-2.0 |