CVE-2021-38153
JSON

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 packageVersionsReported by
Apache Software Foundation Apache Kafkafrom 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 moreCVE List
org.apache.kafka:kafka_2.11 (Maven)from 2.0.0 up to 2.4.1GitHub 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.1GitHub 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.1GitHub 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.1GitHub Advisory Database
apache kafkafrom 2.0.0 before 2.6.3, from 2.7.0 before 2.7.2, 2.8.0NVD
quarkus quarkusbefore 2.2.4NVD
oracle communications_brm_-_elastic_charging_enginebefore 12.0.0.4.6, 12.0.0.5.0NVD
oracle communications_cloud_native_core_policy1.15.0NVD
oracle financial_services_analytical_applications_infrastructurefrom 8.0.6.0 up to 8.0.9.0, from 8.1.0.0.0 up to 8.1.20NVD
oracle financial_services_behavior_detection_platformfrom 8.0.6.0.0 up to 8.0.8.0, 8.1.1.0, 8.1.1.1, 8.1.2.0NVD
oracle 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.1NVD

All scores

GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium 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

https://kafka.apache.org/cve-listadvisory, vendor-advisory, web
https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c%40%3Cdev.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cdev.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cusers.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cusers.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cdev.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cusers.kafka.apache.org%3Emailing-list, web
https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cdev.kafka.apache.org%3Emailing-list, web
https://www.oracle.com/security-alerts/cpujan2022.htmladvisory, third-party-advisory, web
https://www.oracle.com/security-alerts/cpuapr2022.htmladvisory, patch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmladvisory, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-38153advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2021-38153 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3j6g-hxx5-3q26 changed 2026-08-07CC-BY-4.0
NVDCVE-2021-38153 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KAFKA-2021-38153 changed 2026-09-08Apache-2.0