CVE-2021-38153: Timing Attack Vulnerability for Apache Kafka Connect and Clients
Noroxi assessment
Priority: Monitor (action score 25/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.2% (FIRST EPSS); higher than 93.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: org.apache.kafka:kafka_2.12 (Maven) 2.6.3, 2.7.2, 2.8.1; org.apache.kafka:kafka_2.13 (Maven) 2.6.3, 2.7.2, 2.8.1; org.apache.kafka:kafka-clients (Maven) 2.6.3, 2.7.2, 2.8.1.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to org.apache.kafka:kafka_2.12 (Maven) 2.6.3, 2.7.2, 2.8.1; org.apache.kafka:kafka_2.13 (Maven) 2.6.3, 2.7.2, 2.8.1; org.apache.kafka:kafka-clients (Maven) 2.6.3, 2.7.2, 2.8.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 22, 2021
- Updated
- Jun 17, 2026
- EPSS
- 6.2% · 93th percentile
- CWE
- CWE-203
Report tools
Action score
25
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | kafka | cpe:2.3:a:apache:kafka |
| quarkus | quarkus | cpe:2.3:a:quarkus:quarkus |
| oracle | communications brm - elastic charging engine | cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine |
| oracle | communications cloud native core policy | cpe:2.3:a:oracle:communications_cloud_native_core_policy |
| oracle | financial services analytical applications infrastructure | cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure |
| oracle | financial services behavior detection platform | cpe:2.3:a:oracle:financial_services_behavior_detection_platform |
| oracle | financial services enterprise case management | cpe:2.3:a:oracle:financial_services_enterprise_case_management |
| oracle | primavera unifier | cpe:2.3:a:oracle:primavera_unifier |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache kafka2.7.0 and later · before 2.7.2
- apache kafka2.0.0 and later · before 2.6.3
- apache kafka2.8.0
- oracle communications brm - elastic charging enginebefore 12.0.0.4.6
- oracle communications brm - elastic charging engine12.0.0.5.0
- oracle communications cloud native core policy1.15.0
- oracle financial services analytical applications infrastructure8.0.6.0 and later · up to 8.0.9.0 inclusive
- oracle financial services analytical applications infrastructure8.1.0.0.0 and later · up to 8.1.20 inclusive
- oracle financial services behavior detection platform8.0.6.0.0 and later · up to 8.0.8.0 inclusive
- oracle financial services behavior detection platform8.1.1.0
- oracle financial services behavior detection platform8.1.1.1
- oracle financial services behavior detection platform8.1.2.0
- oracle financial services enterprise case management8.0.7.1
- oracle financial services enterprise case management8.0.7.2
- oracle financial services enterprise case management8.0.8.0
- oracle financial services enterprise case management8.0.8.1
- oracle financial services enterprise case management8.1.1.0
- oracle financial services enterprise case management8.1.1.1
- oracle primavera unifier18.8
- oracle primavera unifier19.12
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Kafka
- Apache Kafka 2.0.x and later · up to and including 2.0.1affected
- Apache Kafka 2.1.x and later · up to and including 2.1.1affected
- Apache Kafka 2.2.x and later · up to and including 2.2.2affected
- Apache Kafka 2.3.x and later · up to and including 2.3.1affected
- Apache Kafka 2.4.x and later · up to and including 2.4.1affected
- Apache Kafka 2.5.x and later · up to and including 2.5.1affected
- Apache Kafka 2.6.x and later · up to and including 2.6.2affected
- Apache Kafka 2.7.x and later · up to and including 2.7.1affected
- Apache Kafka 2.8.x and later · up to and including 2.8.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | org.apache.kafka:kafka_2.11 | from 2.0.0 · up to and including 2.4.1 | — |
| Maven | org.apache.kafka:kafka_2.12 | from 2.0.0 · before 2.6.3 | 2.6.3 |
| Maven | org.apache.kafka:kafka_2.12 | from 2.7.0 · before 2.7.2 | 2.7.2 |
| Maven | org.apache.kafka:kafka_2.12 | from 2.8.0 · before 2.8.1 | 2.8.1 |
| Maven | org.apache.kafka:kafka_2.13 | from 2.4.0 · before 2.6.3 | 2.6.3 |
| Maven | org.apache.kafka:kafka_2.13 | from 2.7.0 · before 2.7.2 | 2.7.2 |
| Maven | org.apache.kafka:kafka_2.13 | from 2.8.0 · before 2.8.1 | 2.8.1 |
| Maven | org.apache.kafka:kafka-clients | from 2.0.0 · before 2.6.3 | 2.6.3 |
| Maven | org.apache.kafka:kafka-clients | from 2.7.0 · before 2.7.2 | 2.7.2 |
| Maven | org.apache.kafka:kafka-clients | from 2.8.0 · before 2.8.1 | 2.8.1 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-27817Apache Kafka Client: Arbitrary file read and SSRF vulnerability51Plan
- CVE-2018-17196In Apache Kafka versions between 0.11.0.0 and 2.1.0, it is possible to manually craft a Produce request which bypasses transaction/idempoten37Monitor
- CVE-2026-33557Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2018-1288Jul 26, 2018 · In Apache Kafka 0.9.0.0 to 0.9.0.1, 0.10.0.0 to 0.10.2.1, 0.11.0.0 to 0.11.0.2, and 1.0.0, authenticated Kafka users may perform action rese22Monitor
- ← EarlierCVE-2019-12399Jan 14, 2020 · When Connect workers in Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, or 2.3.0 are configured with one or more config providers, an31Monitor
- Later →CVE-2022-34917Sep 20, 2022 · Unauthenticated clients may cause OutOfMemoryError on Apache Kafka Brokers30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Maven:org.apache.kafka:kafka_2.12 | 2.6.3 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka_2.12 | 2.7.2 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka_2.12 | 2.8.1 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka_2.13 | 2.6.3 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka_2.13 | 2.7.2 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka_2.13 | 2.8.1 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka-clients | 2.6.3 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka-clients | 2.7.2 | Package registry (OSV) |
| Maven:org.apache.kafka:kafka-clients | 2.8.1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0020 · Jan 10, 2022(IBM Güvenlik Bülteni)
- TR-21-0989 · Dec 13, 2021(IBM Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-203 · Observable DiscrepancyCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/r26390c8b09ecfa356582d665b0c01f4cdcf16ac047c85f9f9f06a88c%40%3Cusers.kafka.apache.org%3E
- lists.apache.org/thread.html/r35322aec467ddae34002690edaa4d9f16e7df9b5bf7164869b75b62c%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/r45cc0602d5f2cbb72e48896dfadf5e5b87ed85630449598b40e8f0be%40%3Cusers.kafka.apache.org%3E
- lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cdev.kafka.apache.org%3E
- lists.apache.org/thread.html/rd9ef217b09fdefaf32a4e1835b59b96629542db57e1f63edb8b006e6%40%3Cusers.kafka.apache.org%3E
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.