CVEfocus › CVE database › CVE-2025-27819

CVE-2025-27819Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule…

CVSS 7.5 HighEPSS 1.4% (higher than 73% of CVEs)Published 2025-06-10Updated 2025-06-10Assigner: apache

In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka Connect API. But not only Kafka Connect API is vulnerable to this attack, the Apache Kafka brokers also have this vulnerability. To exploit this vulnerability, the attacker needs to be able to connect to the Kafka cluster and have the AlterConfigs permission on the cluster resource. Since Apache Kafka 3.4.0, we have added a system property ("-Dorg.apache.kafka.disallowed.login.modules") to disable the problematic login modules usage in SASL JAAS configuration. Also by default "com.sun.security.auth.module.JndiLoginModule" is disabled in Apache Kafka 3.4.0, and "com.sun.security.auth.module.JndiLoginModule,com.sun.security.auth.module.LdapLoginModule" is disabled by default in in Apache Kafka 3.9.1/4.0.0

CWE-502

What to do

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

Maven has 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

2Fixed
6Fix pending
7Not affected

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
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Enterprise Linux 9log4j-jclNot affected
Red Hat Enterprise Linux 9log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4jNot affected
Red Hat Enterprise Linux 8log4j-jclNot affected
Red Hat Enterprise Linux 8log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4j-webNot affected
Maven libraryorg.apache.kafka:kafka_2.10Fix pendingGHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.11Fix pendingGHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.12Fixed3.4.0GHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.13Fixed3.4.0GHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.8.0Fix pendingGHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.8.2Fix pendingGHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.9.1Fix pendingGHSA-mcwh-c9pg-xw43
Maven libraryorg.apache.kafka:kafka_2.9.2Fix pendingGHSA-mcwh-c9pg-xw43

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.

Vendor advisories:

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.