登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
就在本周六,成都站 Gitee Talk | 模力方舟 AI 应用开发沙龙抢占最后席位!聚焦 AI 开发全链路,结识技术同频人~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
4
Star
2
Fork
12
src-openEuler
/
zlog
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2024-22857
已完成
#I95AED
CVE和安全问题
majun-bot
创建于
2024-03-02 21:30
一、漏洞信息 漏洞编号:[CVE-2024-22857](https://nvd.nist.gov/vuln/detail/CVE-2024-22857) 漏洞归属组件:[zlog](https://gitee.com/src-openeuler/zlog) 漏洞归属的版本:1.2.15 CVSS V3.0分值: BaseScore:9.8 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 漏洞简述: Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE). 漏洞公开时间:2024-03-07 09:15:52 漏洞创建时间:2024-03-02 13:30:03 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-22857 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | cve.mitre.org | https://github.com/HardySimpson/zlog/ | | | cve.mitre.org | https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30 | | | cve.mitre.org | https://github.com/HardySimpson/zlog/pull/251 | | | cve.mitre.org | https://www.cybersecurity-help.cz/vdb/SB2024022842 | | | cve.mitre.org | https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857 | | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-22857 | | snyk | https://www.cybersecurity-help.cz/vdb/SB2024022842 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | | snyk | https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | | snyk | https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其它 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/HardySimpson/zlog/pull/251 | | cve.mitre.org | | | | https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE). openEuler评分: 9.8 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(1.2.15):受影响 2.openEuler-20.03-LTS-SP4(1.2.15):受影响 3.openEuler-22.03-LTS(1.2.15):受影响 4.openEuler-22.03-LTS-Next(1.2.15):受影响 5.openEuler-22.03-LTS-SP1(1.2.15):受影响 6.openEuler-22.03-LTS-SP2(1.2.15):受影响 7.openEuler-22.03-LTS-SP3(1.2.15):受影响 8.openEuler-22.03-LTS-SP4(1.2.15):受影响 9.openEuler-24.03-LTS(1.2.15):受影响 10.openEuler-24.03-LTS-Next(1.2.15):受影响 修复是否涉及abi变化(是/否): 1.master(1.2.15):否 2.openEuler-20.03-LTS-SP4(1.2.15):否 3.openEuler-22.03-LTS(1.2.15):否 4.openEuler-22.03-LTS-Next(1.2.15):否 5.openEuler-22.03-LTS-SP1(1.2.15):否 6.openEuler-22.03-LTS-SP2(1.2.15):否 7.openEuler-22.03-LTS-SP3(1.2.15):否 8.openEuler-22.03-LTS-SP4(1.2.15):否 9.openEuler-24.03-LTS(1.2.15):否 10.openEuler-24.03-LTS-Next(1.2.15):否 原因说明: 1.master(1.2.15): 2.openEuler-20.03-LTS-SP4(1.2.15): 3.openEuler-22.03-LTS-SP1(1.2.15): 4.openEuler-22.03-LTS-SP3(1.2.15): 5.openEuler-22.03-LTS-SP4(1.2.15): 6.openEuler-24.03-LTS(1.2.15): 7.openEuler-24.03-LTS-Next(1.2.15): 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2318
一、漏洞信息 漏洞编号:[CVE-2024-22857](https://nvd.nist.gov/vuln/detail/CVE-2024-22857) 漏洞归属组件:[zlog](https://gitee.com/src-openeuler/zlog) 漏洞归属的版本:1.2.15 CVSS V3.0分值: BaseScore:9.8 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 漏洞简述: Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE). 漏洞公开时间:2024-03-07 09:15:52 漏洞创建时间:2024-03-02 13:30:03 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-22857 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | cve.mitre.org | https://github.com/HardySimpson/zlog/ | | | cve.mitre.org | https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30 | | | cve.mitre.org | https://github.com/HardySimpson/zlog/pull/251 | | | cve.mitre.org | https://www.cybersecurity-help.cz/vdb/SB2024022842 | | | cve.mitre.org | https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857 | | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-22857 | | snyk | https://www.cybersecurity-help.cz/vdb/SB2024022842 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | | snyk | https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | | snyk | https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30 | https://security.snyk.io/vuln/SNYK-UNMANAGED-HARDYSIMPSONZLOG-6420026 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其它 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/HardySimpson/zlog/pull/251 | | cve.mitre.org | | | | https://github.com/HardySimpson/zlog/commit/c47f781a9f1e9604f5201e27d046d925d0d48ac4 | | snyk | </details> 二、漏洞分析结构反馈 影响性分析说明: Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE). openEuler评分: 9.8 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(1.2.15):受影响 2.openEuler-20.03-LTS-SP4(1.2.15):受影响 3.openEuler-22.03-LTS(1.2.15):受影响 4.openEuler-22.03-LTS-Next(1.2.15):受影响 5.openEuler-22.03-LTS-SP1(1.2.15):受影响 6.openEuler-22.03-LTS-SP2(1.2.15):受影响 7.openEuler-22.03-LTS-SP3(1.2.15):受影响 8.openEuler-22.03-LTS-SP4(1.2.15):受影响 9.openEuler-24.03-LTS(1.2.15):受影响 10.openEuler-24.03-LTS-Next(1.2.15):受影响 修复是否涉及abi变化(是/否): 1.master(1.2.15):否 2.openEuler-20.03-LTS-SP4(1.2.15):否 3.openEuler-22.03-LTS(1.2.15):否 4.openEuler-22.03-LTS-Next(1.2.15):否 5.openEuler-22.03-LTS-SP1(1.2.15):否 6.openEuler-22.03-LTS-SP2(1.2.15):否 7.openEuler-22.03-LTS-SP3(1.2.15):否 8.openEuler-22.03-LTS-SP4(1.2.15):否 9.openEuler-24.03-LTS(1.2.15):否 10.openEuler-24.03-LTS-Next(1.2.15):否 原因说明: 1.master(1.2.15): 2.openEuler-20.03-LTS-SP4(1.2.15): 3.openEuler-22.03-LTS-SP1(1.2.15): 4.openEuler-22.03-LTS-SP3(1.2.15): 5.openEuler-22.03-LTS-SP4(1.2.15): 6.openEuler-24.03-LTS(1.2.15): 7.openEuler-24.03-LTS-Next(1.2.15): 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2318
评论 (
21
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
liubuguiii
liubuguiii
负责人
协作者
+负责人
+协作者
标签
CVE/FIXED
sig/sig-KIRAN-DESKTO
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (20)
标签 (16)
master
openEuler-25.09
openEuler-25.03
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-24.03-LTS
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-20.03-LTS-SP4
openEuler-24.09
openEuler-23.03
openEuler-23.09
openEuler-20.03-LTS-SP3
openEuler-22.09
openEuler-22.03-LTS
openEuler-20.03-LTS-Next
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-SP1-release
openEuler-24.03-LTS-update-20241101
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round4
openEuler-20.03-LTS-SP3-release
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/zlog.git
git@gitee.com:src-openeuler/zlog.git
src-openeuler
zlog
zlog
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册