已关闭
CVE-2023-25194 #34
openeuler-ci-bot创建于  2023年2月8日关闭于  10 天前
openeuler-ci-bot
openeuler-ci-bot成员
2023年2月8日 创建

一、漏洞信息
漏洞编号:CVE-2023-25194
漏洞归属组件:kafka
漏洞归属的版本:2.4.0,2.8.1,2.8.2
CVSS评分:
BaseScore:8.8 High
Vector:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
A possible security vulnerability has been identified in Apache Kafka Connect API.This requires access to a Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS configand a SASL-based security protocol, which has been possible on Kafka Connect clusters since Apache Kafka Connect 2.3.0.When configuring the connector via the Kafka Connect REST API, an authenticated operator can set the sasl.jaas.configproperty for any of the connector s Kafka clients to com.sun.security.auth.module.JndiLoginModule , which can be done via theproducer.override.sasl.jaas.config, consumer.override.sasl.jaas.config, or admin.override.sasl.jaas.config properties.This will allow the server to connect to the attacker s LDAP serverand deserialize the LDAP response, which the attacker can use to execute java deserialization gadget chains on the Kafka connect server.Attacker can cause unrestricted deserialization of untrusted data (or) RCE vulnerability when there are gadgets in the classpath.Since Apache Kafka 3.0.0, users are allowed to specify these properties in connector configurations for Kafka Connect clusters running with out-of-the-boxconfigurations. Before Apache Kafka 3.0.0, users may not specify these properties unless the Kafka Connect cluster has been reconfigured with a connectorclient override policy that permits them.Since Apache Kafka 3.4.0, we have added a system property ( -Dorg.apache.kafka.disallowed.login.modules ) to disable the problematic login modules usagein SASL JAAS configuration. Also by default com.sun.security.auth.module.JndiLoginModule is disabled in Apache Kafka Connect 3.4.0. We advise the Kafka Connect users to validate connector configurations and only allow trusted JNDI configurations. Also examine connector dependencies for vulnerable versions and either upgrade their connectors, upgrading that specific dependency, or removing the connectors as options for remediation. Finally,in addition to leveraging the org.apache.kafka.disallowed.login.modules system property, Kafka Connect users can also implement their own connectorclient config override policy, which can be used to control which Kafka client properties can be overridden directly in a connector config and which cannot.
漏洞公开时间:2023-02-08 04:15:09
漏洞创建时间:2025-03-25 23:31:03
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-25194

更多参考(点击展开)
参考来源 参考链接 来源链接
security.apache.org http://packetstormsecurity.com/files/173151/Apache-Druid-JNDI-Injection-Remote-Code-Execution.html
security.apache.org https://kafka.apache.org/cve-list
security.apache.org https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz
af854a3a-2127-422b-91ae-364da2661108 http://packetstormsecurity.com/files/173151/Apache-Druid-JNDI-Injection-Remote-Code-Execution.html
af854a3a-2127-422b-91ae-364da2661108 https://kafka.apache.org/cve-list
af854a3a-2127-422b-91ae-364da2661108 https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-25194 https://bugzilla.suse.com/show_bug.cgi?id=1208225
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2023-25194 https://bugzilla.suse.com/show_bug.cgi?id=1208225
suse_bugzilla https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz https://bugzilla.suse.com/show_bug.cgi?id=1208225
suse_bugzilla https://kafka.apache.org/cve-list https://bugzilla.suse.com/show_bug.cgi?id=1208225
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25194 https://ubuntu.com/security/CVE-2023-25194
ubuntu https://kafka.apache.org/cve-list https://ubuntu.com/security/CVE-2023-25194
ubuntu https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz https://ubuntu.com/security/CVE-2023-25194
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2023-25194 https://ubuntu.com/security/CVE-2023-25194
ubuntu https://launchpad.net/bugs/cve/CVE-2023-25194 https://ubuntu.com/security/CVE-2023-25194
ubuntu https://security-tracker.debian.org/tracker/CVE-2023-25194 https://ubuntu.com/security/CVE-2023-25194
ubuntu http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786460 https://ubuntu.com/security/CVE-2023-25194
debian https://security-tracker.debian.org/tracker/CVE-2023-25194
oracle https://www.oracle.com/security-alerts/cpuapr2023.html
cve_search https://kafka.apache.org/cve-list
cve_search https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz
cve_search http://packetstormsecurity.com/files/173151/Apache-Druid-JNDI-Injection-Remote-Code-Execution.html
kafka https://kafka.apache.org/cve-list
github_advisory https://kafka.apache.org/cve-list https://github.com/advisories/GHSA-26f8-x7cc-wqpc
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2023-25194 https://github.com/advisories/GHSA-26f8-x7cc-wqpc
github_advisory https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz https://github.com/advisories/GHSA-26f8-x7cc-wqpc
github_advisory https://hackerone.com/reports/1529790 https://github.com/advisories/GHSA-26f8-x7cc-wqpc
aliyun https://kafka.apache.org/cve-list https://cert.360.cn/warning/detail?id=94ade46132097e89bbab1f4b2789de0c
aliyun https://lists.apache.org/thread/rn8vn4d9dbxc6817c5wz1dhhoshp1s25 https://cert.360.cn/warning/detail?id=94ade46132097e89bbab1f4b2789de0c

漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
http://packetstormsecurity.com/files/173151/Apache-Druid-JNDI-Injection-Remote-Code-Execution.html nvd
https://kafka.apache.org/cve-list nvd
https://lists.apache.org/thread/vy1c7fqcdqvq5grcqp6q5jyyb302khyz nvd

二、漏洞分析结构反馈
影响性分析说明:
CVE-2023-25194 是 Kafka Connect 侧 JNDI 注入:认证操作员可通过 connector 配置的 producer.override/consumer.override 注入恶意 SASL JAAS 配置触发 JndiLoginModule。上游修复机制为 org.apache.kafka.disallowed.login.modules 默认禁用(Kafka 3.4.0 引入),已合入的 CVE-2025-27818/27819 补丁(0023)为同一机制的超集(同时禁用 JndiLoginModule 与 LdapLoginModule)。
openEuler评分:
8.8
Vector:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(2.8.2):受影响
2.openEuler-20.03-LTS-SP4(2.8.2):受影响
3.openEuler-22.03-LTS-SP3(2.8.2):受影响
4.openEuler-22.03-LTS-SP4(2.8.2):受影响
5.openEuler-24.03-LTS(2.8.2):受影响
6.openEuler-24.03-LTS-Next(2.8.2):受影响
7.openEuler-24.03-LTS-SP1(2.8.2):受影响
8.openEuler-24.03-LTS-SP2(2.8.2):受影响
9.openEuler-24.03-LTS-SP3(2.8.2):受影响
10.openEuler-24.03-LTS-SP4(2.8.2):受影响

修复是否涉及abi变化(是/否):
1.master(2.8.2):否
2.openEuler-20.03-LTS-SP4(2.8.2):否
3.openEuler-22.03-LTS-SP3(2.8.2):否
4.openEuler-22.03-LTS-SP4(2.8.2):否
5.openEuler-24.03-LTS(2.8.2):否
6.openEuler-24.03-LTS-Next(2.8.2):否
7.openEuler-24.03-LTS-SP1(2.8.2):否
8.openEuler-24.03-LTS-SP2(2.8.2):否
9.openEuler-24.03-LTS-SP3(2.8.2):否
10.openEuler-24.03-LTS-SP4(2.8.2):否

原因说明:
1.master(2.8.2):正常修复
2.openEuler-20.03-LTS-SP4(2.8.2):正常修复
3.openEuler-22.03-LTS-SP3(2.8.2):不修复-超出修复范围
4.openEuler-22.03-LTS-SP4(2.8.2):正常修复
5.openEuler-24.03-LTS(2.8.2):不修复-超出修复范围
6.openEuler-24.03-LTS-Next(2.8.2):正常修复
7.openEuler-24.03-LTS-SP1(2.8.2):正常修复
8.openEuler-24.03-LTS-SP2(2.8.2):不修复-超出修复范围
9.openEuler-24.03-LTS-SP3(2.8.2):正常修复
10.openEuler-24.03-LTS-SP4(2.8.2):正常修复

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年2月8日 评论:

@yangzhao_kl ,@wuzeyi1 ,@macchen1 ,@my_code_x
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.8.2):
2.openEuler-20.03-LTS-SP3(2.8.2):
3.openEuler-22.03-LTS(2.6.0):
4.openEuler-22.03-LTS-SP1(2.8.2):

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(2.8.2):
2.openEuler-20.03-LTS-SP3(2.8.2):
3.openEuler-22.03-LTS(2.6.0):
4.openEuler-22.03-LTS-SP1(2.8.2):


issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年2月8日 评论:

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: bigdata, and any of the maintainers: @yangzhao_kl , @wuzeyi1 , @macchen1 , @my_code_x

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2023年2月8日 评论:
参考网址 关联pr 状态 补丁链接
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-25194
https://www.opencve.io/cve/CVE-2023-25194
https://nvd.nist.gov/vuln/detail/CVE-2023-25194
https://security-tracker.debian.org/tracker/CVE-2023-25194
https://ubuntu.com/security/CVE-2023-25194NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2023-25194

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

likedislike
AtomGit-Bot
2023年2月14日 评论:

@yangzhao_kl 该CVE受影响版本为2.3.0 <= Apache Kafka <= 3.3.2,是否可以考虑升级到3.4.0来解决该问题?
新版本下载地址:https://kafka.apache.org/downloads

likedislike
AtomGit-Bot
2023年2月27日 评论:

@yangzhao_kl 这个漏洞有没有最新的修复计划?

likedislike
此处折叠了923条消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
10 天前 issue状态由 待办的 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
10 天前 关闭了 issue
openeuler-ci-bot
openeuler-ci-bot成员
10 天前 评论:

经过cve-manager解析,(所有PR均已合入)

likedislike
openeuler-ci-botopeneuler-ci-bot成员
10 天前 删除了label:CVE/UNFIXED
openeuler-ci-botopeneuler-ci-bot成员
10 天前 添加了label:CVE/FIXED