Not rated
CVE-2021-38153 Some components in Apache Kafka use `Arrays.equals` to validate a password or key, which is vulnerable to timing attacks…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Apache Kafka 2.8 | earliest → 2.8.0 | No fix stated |
| Apache Kafka 2.7 | earliest → 2.7.1 | No fix stated |
| Apache Kafka 2.6 | earliest → 2.6.2 | No fix stated |
| Apache Kafka 2.5 | earliest → 2.5.1 | No fix stated |
| Apache Kafka 2.4 | earliest → 2.4.1 | No fix stated |
| Apache Kafka 2.3 | earliest → 2.3.1 | No fix stated |
| Apache Kafka 2.2 | earliest → 2.2.2 | No fix stated |
| Apache Kafka 2.1 | earliest → 2.1.1 | No fix stated |
| Apache Kafka 2.0 | earliest → 2.0.1 | No fix stated |
References
- kafka.apache.org kafka.apache.org
- [kafka-dev] 20211007 Re: CVE Back Port? lists.apache.org
- [kafka-dev] 20211012 [VOTE] 2.6.3 RC0 lists.apache.org
- [kafka-users] 20211012 [VOTE] 2.6.3 RC0 lists.apache.org
- [kafka-users] 20211012 [VOTE] 2.7.2 RC0 lists.apache.org
- [kafka-dev] 20211012 [VOTE] 2.7.2 RC0 lists.apache.org
- [kafka-users] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 lists.apache.org
- [kafka-dev] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 lists.apache.org
- www.oracle.com www.oracle.com
- www.oracle.com www.oracle.com
- www.oracle.com www.oracle.com
Timeline
- Published
- Last modified
Other CVEs of Apache Kafka
The 23 CVEs of Apache Kafka →
CVE-2026-114349
Apache Kafka: Denial of service via unbounded memory allocation when decoding compressed record batches
Not rated
CVE-2026-112375
Apache Kafka: Unauthorized principal can read arbitrary broker files via IncrementalAlterConfigs
Not rated
CVE-2026-116593
Apache Kafka: Kafka Connect configuration provider values exposed via validation REST API endpoint
Not rated
CVE-2026-115644
Apache Kafka: Connect Admin REST API Authentication Bypass via Unapplied REST Extensions
Not rated