CVE-2021-38153
publishedTiming Attack Vulnerability for Apache Kafka Connect and Clients
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache KafkaApache Kafka 2.0.x through 2.0.1 · Apache Kafka 2.1.x through 2.1.1 · Apache Kafka 2.2.x through 2.2.2 · Apache Kafka 2.3.x through 2.3.1 · Apache Kafka 2.4.x through 2.4.1 · Apache Kafka 2.5.x through 2.5.1 · Apache Kafka 2.6.x through 2.6.2 · Apache Kafka 2.7.x through 2.7.1 · Apache Kafka 2.8.x through 2.8.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Kafka | Apache Kafka 2.0.x through 2.0.1 (affected · custom)Apache Kafka 2.1.x through 2.1.1 (affected · custom)Apache Kafka 2.2.x through 2.2.2 (affected · custom)Apache Kafka 2.3.x through 2.3.1 (affected · custom)Apache Kafka 2.4.x through 2.4.1 (affected · custom)Apache Kafka 2.5.x through 2.5.1 (affected · custom)Apache Kafka 2.6.x through 2.6.2 (affected · custom)Apache Kafka 2.7.x through 2.7.1 (affected · custom)Apache Kafka 2.8.x through 2.8.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-203 CWE-203 Observable Discrepancy
References
11- https://kafka.apache.org/cve-list
- [kafka-dev] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cdev.kafka.apache.org%3E
- [kafka-users] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 https://lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cusers.kafka.apache.org%3E
- [kafka-dev] 20211007 Re: CVE Back Port? https://lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c%40%3Cdev.kafka.apache.org%3E
- [kafka-dev] 20211012 [VOTE] 2.6.3 RC0 https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cdev.kafka.apache.org%3E
- [kafka-users] 20211012 [VOTE] 2.6.3 RC0 https://lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cusers.kafka.apache.org%3E
- [kafka-dev] 20211012 [VOTE] 2.7.2 RC0 https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cdev.kafka.apache.org%3E
- [kafka-users] 20211012 [VOTE] 2.7.2 RC0 https://lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cusers.kafka.apache.org%3E
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2apache · cna
Timing Attack Vulnerability for Apache Kafka Connect and Clients
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0888d3d94dcf74855ac8a72975533015284bfeb31df76aa658af186a5da7aaa9
- Ingested
- 23 Sep 2026, 07:55:21 UTC
- Source record
- Official CVE record