# CVE-2021-38153: Timing Attack Vulnerability for Apache Kafka Connect and Clients

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.47%, higher than 92% of CVEs (2026-12-01)
- Published: 2021-09-22T09:05:11.000Z
- Modified: 2026-09-08T08:48:23.727Z
- Also known as: GHSA-3j6g-hxx5-3q26, BIT-KAFKA-2021-38153
- Weaknesses: CWE-203
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- 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; from Apache Kafka 2.8.x up to 2.8.0
- org.apache.kafka:kafka_2.11 (Maven): from 2.0.0 up to 2.4.1
- 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
- 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
- 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
- apache kafka: from 2.0.0 before 2.6.3; from 2.7.0 before 2.7.2; 2.8.0
- quarkus quarkus: before 2.2.4
- oracle communications_brm_-_elastic_charging_engine: before 12.0.0.4.6; 12.0.0.5.0
- oracle communications_cloud_native_core_policy: 1.15.0
- 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
- 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
- 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
- oracle primavera_unifier: 18.8; 19.12; 20.12; 21.12
- 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

## Every score

- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://kafka.apache.org/cve-list> (advisory, vendor-advisory, web)
- <https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c%40%3Cdev.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cdev.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cusers.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cusers.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cdev.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cusers.kafka.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cdev.kafka.apache.org%3E> (mailing-list, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (advisory, patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38153> (advisory, web)
- <https://github.com/apache/kafka> (package)
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cdev.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cusers.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c@%3Cdev.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cdev.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cusers.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6@%3Cdev.kafka.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6@%3Cusers.kafka.apache.org%3E> (web)
- <https://support.confluent.io/hc/en-us/articles/4407632156692-CVE-2021-38153-Confluent-Platform-Vulnerability-Timing-attacks> (web)

## Sources

- CVE List: [CVE-2021-38153](https://www.cve.org/CVERecord?id=CVE-2021-38153), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3j6g-hxx5-3q26](https://github.com/advisories/GHSA-3j6g-hxx5-3q26), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2021-38153](https://nvd.nist.gov/vuln/detail/CVE-2021-38153), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KAFKA-2021-38153](https://osv.dev/vulnerability/BIT-KAFKA-2021-38153), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-38153 · Whole record: https://cve.day/CVE-2021-38153.json · Rebuilt by cve.day 2026-11-25T22:58:04.094Z
