CVE-2021-38153Timing Attack Vulnerability for Apache Kafka Connect and Clients
- 5.9MediumCVSS base score
- 6.2%Exploitation in 30 daysEPSS · top 6.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 47 days later
· 47 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 6.2% · top 6.4% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
Apache Software Foundation · Apache Kafka
- affected Apache Kafka 2.0.x – ≤ 2.0.1
- affected Apache Kafka 2.1.x – ≤ 2.1.1
- affected Apache Kafka 2.2.x – ≤ 2.2.2
- affected Apache Kafka 2.3.x – ≤ 2.3.1
- affected Apache Kafka 2.4.x – ≤ 2.4.1
- affected Apache Kafka 2.5.x – ≤ 2.5.1
- affected Apache Kafka 2.6.x – ≤ 2.6.2
- affected Apache Kafka 2.7.x – ≤ 2.7.1
- affected Apache Kafka 2.8.x – ≤ 2.8.0
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.kafka:kafka-clientsGHSA-3j6g-hxx5-3q26 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.11GHSA-3j6g-hxx5-3q26 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.12GHSA-3j6g-hxx5-3q26 (opens in a new tab)
- Mavenorg.apache.kafka:kafka_2.13GHSA-3j6g-hxx5-3q26 (opens in a new tab)
References
References11
- https://kafka.apache.org/cve-list (opens in a new tab)x_refsource_MISCx_transferred
- [kafka-dev] 20211007 Re: CVE Back Port? (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-dev] 20211012 [VOTE] 2.6.3 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-users] 20211012 [VOTE] 2.6.3 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-users] 20211012 [VOTE] 2.7.2 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-dev] 20211012 [VOTE] 2.7.2 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-users] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [kafka-dev] 20211026 Re: [kafka-clients] [VOTE] 2.7.2 RC0 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1963 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3j6g-hxx5-3q26 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-38153)Record last updated .