CVE-2025-27819
Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration
描述
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
如何修補 CVE-2025-27819
要修補 CVE-2025-27819,請將受影響套件升級到下列已修補版本。
- —升級至 3.4.1 或更新版本
- —未列出修補版本
- —未列出修補版本
- —升級至 3.4.0 或更新版本
- —升級至 3.4.0 或更新版本
- —未列出修補版本
- —未列出修補版本
- —未列出修補版本
- —未列出修補版本
CVE-2025-27819 正在被利用嗎?
低 — EPSS 為 0.9%,目前沒有觀察到大規模利用活動。
受影響套件(9)
- >= 2.0.0, < 3.4.1
- from 0
- from 0
- from 0, < 3.4.0
- from 0, < 3.4.0
- from 0
- from 0
- from 0
- from 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |