9 Star 2 Fork 103

src-openEuler/grub2

CVE-2025-1125

已完成
CVE和安全问题 拥有者
创建于  
2025-02-19 12:21

一、漏洞信息
漏洞编号:CVE-2025-1125
漏洞归属组件:grub2
漏洞归属的版本:2.04,2.06,2.12
CVSS V3.0分值:
BaseScore:6.4 Medium
Vector:CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
When reading data from a hfs filesystem, grub s hfs filesystem module uses user-controlled parameters from the filesystem metadata to calculate the internal buffers size, however it misses to properly check for integer overflows. A maliciouly crafted filesystem may lead some of those buffer size calculation to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result the hfsplus_open_compressed_real() function will write past of the internal buffer length. This flaw may be leveraged to corrupt grub s internal critical data and may result in arbitrary code execution by-passing secure boot protections.
漏洞公开时间:2025-03-03 23:15:16
漏洞创建时间:2025-02-19 12:21:05
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2025-1125

更多参考(点击展开)
参考来源 参考链接 来源链接
secalert.redhat.com https://access.redhat.com/security/cve/CVE-2025-1125
secalert.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2346138
secalert.redhat.com https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html
suse_bugzilla https://smelt.suse.de/incident/37157/ https://bugzilla.suse.com/show_bug.cgi?id=1237014
suse_bugzilla https://smelt.suse.de/incident/37156/ https://bugzilla.suse.com/show_bug.cgi?id=1237014
suse_bugzilla https://smelt.suse.de/incident/37155/ https://bugzilla.suse.com/show_bug.cgi?id=1237014
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2025-1125 https://explore.alas.aws.amazon.com/CVE-2025-1125.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-1125 https://explore.alas.aws.amazon.com/CVE-2025-1125.html

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

详情(点击展开)

二、漏洞分析结构反馈
影响性分析说明:
从hfs文件系统读取数据时,grub2 hfs文件系模块使用文件系统元数据中的用户控制参数来计算内部缓冲区大小,但它没有正确检查整数溢出。恶意构建的文件系统可能会导致其中一些缓冲区大小计算溢出,导致它执行比预期更小的grub_malloc()操作。因此,hfsplus_open_compressed_real()函数写入的数据可能会超过内部缓冲区长度。此漏洞可能被用来破坏grub2的内部关键数据,并可能通过传递安全启动保护来导致任意代码执行。
openEuler评分:
6.4
Vector:CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(2.12):受影响
2.openEuler-20.03-LTS-SP4(2.04):受影响
3.openEuler-22.03-LTS-SP3(2.06):受影响
4.openEuler-22.03-LTS-SP4(2.06):受影响
5.openEuler-24.03-LTS(2.12):受影响
6.openEuler-24.03-LTS-Next(2.12):受影响
7.openEuler-24.03-LTS-SP1(2.12):受影响

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

原因说明:
1.master(2.12):正常修复
2.openEuler-20.03-LTS-SP4(2.04):正常修复
3.openEuler-22.03-LTS-SP3(2.06):正常修复
4.openEuler-22.03-LTS-SP4(2.06):正常修复
5.openEuler-24.03-LTS(2.12):正常修复
6.openEuler-24.03-LTS-Next(2.12):正常修复
7.openEuler-24.03-LTS-SP1(2.12):正常修复

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1291

评论 (8)

openeuler-ci-bot 创建了CVE和安全问题 4个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
4个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/sig-OS-Builder
标签
4个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2025-1125
https://ubuntu.com/security/CVE-2025-1125
https://www.opencve.io/cve/CVE-2025-1125
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2025-1125
https://security-tracker.debian.org/tracker/CVE-2025-1125
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2025-1125

说明:抱歉,当前工具暂未找到推荐补丁,请人工查找或者之后评论'/find-patch'尝试再次查找。
若人工查找到补丁,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 计划开始日期设置为2025-02-19 4个月前
openeuler-ci-bot 计划截止日期设置为2025-03-21 4个月前
openeuler-ci-bot 优先级设置为次要 4个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 计划开始日期2025-02-19 修改为2025-02-20 4个月前
openeuler-ci-bot 计划截止日期2025-03-21 修改为2025-03-22 4个月前

影响性分析说明:
从hfs文件系统读取数据时,grub2 hfs文件系模块使用文件系统元数据中的用户控制参数来计算内部缓冲区大小,但它没有正确检查整数溢出。恶意构建的文件系统可能会导致其中一些缓冲区大小计算溢出,导致它执行比预期更小的grub_malloc()操作。因此,hfsplus_open_compressed_real()函数写入的数据可能会超过内部缓冲区长度。此漏洞可能被用来破坏grub2的内部关键数据,并可能绕过安全启动保护来导致任意代码执行。
openEuler评分:
6.4
Vector:CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(2.12):受影响
2.openEuler-20.03-LTS-SP4(2.04):受影响
3.openEuler-22.03-LTS-SP3(2.06):受影响
4.openEuler-22.03-LTS-SP4(2.06):受影响
5.openEuler-24.03-LTS(2.12):受影响
6.openEuler-24.03-LTS-Next(2.12):受影响
7.openEuler-24.03-LTS-SP1(2.12):受影响

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

原因说明:
1.master(2.12):正常修复
2.openEuler-20.03-LTS-SP4(2.04):正常修复
3.openEuler-22.03-LTS-SP3(2.06):正常修复
4.openEuler-22.03-LTS-SP4(2.06):正常修复
5.openEuler-24.03-LTS(2.12):正常修复
6.openEuler-24.03-LTS-Next(2.12):正常修复
7.openEuler-24.03-LTS-SP1(2.12):正常修复

openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 任务状态待办的 修改为进行中 4个月前
openeuler-ci-bot 任务状态已完成 修改为进行中 4个月前
openeuler-ci-bot 任务状态已完成 修改为进行中 4个月前
openeuler-ci-bot 任务状态已完成 修改为进行中 4个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 通过合并 Pull Request !506: fix the vulnerabilities announced on February 18th, 2025任务状态进行中 修改为已完成 4个月前
openeuler-ci-bot 任务状态已完成 修改为进行中 4个月前
openeuler-ci-bot 修改了描述 3个月前
openeuler-ci-bot 修改了描述 3个月前
openeuler-ci-bot 修改了描述 3个月前

/close

t.feng-t_feng t.feng 成员 3个月前

/close

openeuler-ci-bot 任务状态进行中 修改为已完成 3个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3个月前
openeuler-ci-bot 移除了
 
sig/sig-OS-Builder
标签
3个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
3个月前
openeuler-ci-bot 添加了
 
sig/sig-OS-Builder
标签
3个月前
openeuler-ci-bot 修改了描述 3个月前
openeuler-ci-bot 修改了描述 3个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 zhangqiumiao-zhangqiumiao t.feng-t_feng
1
https://gitee.com/src-openeuler/grub2.git
git@gitee.com:src-openeuler/grub2.git
src-openeuler
grub2
grub2

搜索帮助