REDHAT-BUG-2371365: High severity Apache Kafka vulnerability

Published Jun 10, 2025
·
Updated

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

Affected Software

3 affected components
Apache Kafka>3.4.0
Apache Kafka>3.9.1
Apache Kafka>4.0.0

Event History

Jun 10, 2025
Data Sourced
via Red Hat·08:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2371365?

REDHAT-BUG-2371365 is considered a critical vulnerability as it can lead to remote code execution and denial of service.

2

How do I fix REDHAT-BUG-2371365?

To fix REDHAT-BUG-2371365, upgrade your Apache Kafka to the latest version that addresses this vulnerability.

3

What components are affected by REDHAT-BUG-2371365?

REDHAT-BUG-2371365 affects Apache Kafka versions 3.4.0, 3.9.1, and 4.0.0.

4

Can REDHAT-BUG-2371365 be exploited remotely?

Yes, REDHAT-BUG-2371365 can be exploited remotely if the attacker has access to the vulnerable JndiLoginModule configuration.

5

What are the potential impacts of REDHAT-BUG-2371365?

The potential impacts of REDHAT-BUG-2371365 include unauthorized access, remote code execution, and denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203