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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-22 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-38153, CGA-6xhq-ggm7-4q2r, BIT-kafka-2021-38153, GHSA-3j6g-hxx5-3q26
- Record: https://cvemate.com/vulnerability/CVE-2021-38153 · JSON: https://cvemate.com/vulnerability/CVE-2021-38153/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 5.468%, percentile 92.97%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation 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
- apache kafka: ≥ 2.0.0, \< 2.6.3 \| ≥ 2.7.0, \< 2.7.2 \| 2.8.0
- chainguard apache-nifi (Chainguard): \< 1.26.0-r2
- ubuntu kafka (Ubuntu): All versions (No fix recorded)
- org.apache.kafka kafka\_2.11 (Maven): ≥ 2.0.0, ≤ 2.4.1
- org.apache.kafka kafka\_2.12 (Maven): ≥ 2.0.0, \< 2.6.3 \| ≥ 2.7.0, \< 2.7.2 \| ≥ 2.8.0, \< 2.8.1
- org.apache.kafka kafka\_2.13 (Maven): ≥ 2.4.0, \< 2.6.3 \| ≥ 2.7.0, \< 2.7.2 \| ≥ 2.8.0, \< 2.8.1
- org.apache.kafka kafka-clients (Maven): ≥ 2.0.0, \< 2.6.3 \| ≥ 2.7.0, \< 2.7.2 \| ≥ 2.8.0, \< 2.8.1
- oracle communications\_brm\_-\_elastic\_charging\_engine: \< 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: ≥ 8.0.6.0, ≤ 8.0.9.0 \| ≥ 8.1.0.0.0, ≤ 8.1.20
- oracle 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
- 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
- quarkus quarkus: \< 2.2.4

## References (first 20 of 23)

- <https://kafka.apache.org/cve-list>
- <https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c%40%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cdev.kafka.apache.org%3E>
- <https://www.oracle.com/security-alerts/cpujan2022.html>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://ubuntu.com/security/CVE-2021-38153>
- <https://www.cve.org/CVERecord?id=CVE-2021-38153>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38153>
- <https://github.com/apache/kafka>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c@%3Cusers.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cdev.kafka.apache.org%3E>
- <https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be@%3Cusers.kafka.apache.org%3E>

---

Data as of 2026-12-05T04:24:57.562Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
