CVEfocus › CVE database › CVE-2021-38153

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

CVSS 5.9 MediumEPSS 5.5% (higher than 94% of CVEs)Published 2021-09-22Updated 2024-08-04Assigner: apache

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.

CWE-203

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Maven, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04kafkaFix pendingUBUNTU-CVE-2021-38153
Maven libraryorg.apache.kafka:kafka-clientsFixed2.7.2GHSA-3j6g-hxx5-3q26
Maven libraryorg.apache.kafka:kafka_2.11Fix pendingGHSA-3j6g-hxx5-3q26
Maven libraryorg.apache.kafka:kafka_2.12Fixed2.8.1GHSA-3j6g-hxx5-3q26
Maven libraryorg.apache.kafka:kafka_2.13Fixed2.8.1GHSA-3j6g-hxx5-3q26

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.