11 Star 0 Fork 57

src-openEuler/vim

CVE-2024-41957

已完成
CVE和安全问题 拥有者
创建于  
2024-08-02 06:47

一、漏洞信息
漏洞编号:CVE-2024-41957
漏洞归属组件:vim
漏洞归属的版本:8.2,9.0,9.0.2092
CVSS V3.0分值:
BaseScore:5.3 Medium
Vector:CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
漏洞简述:
Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the quickfix list belonging to that window will also be cleared and if that quickfix list points to the same tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception. Impact is low since the user must intentionally execute vim with several non-default flags,but it may cause a crash of Vim. The issue has been fixed as of Vim patch v9.1.0647
漏洞公开时间:2024-08-02 06:15:29
漏洞创建时间:2024-08-02 06:47:04
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-41957

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a
security-advisories.github.com https://github.com/vim/vim/security/advisories/GHSA-f9cr-gv85-hcr4
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-41957 https://bugzilla.suse.com/show_bug.cgi?id=1228775
suse_bugzilla https://seclists.org/oss-sec/2024/q3/128 https://bugzilla.suse.com/show_bug.cgi?id=1228775
suse_bugzilla https://github.com/vim/vim/security/advisories/GHSA-f9cr-gv85-hcr4 https://bugzilla.suse.com/show_bug.cgi?id=1228775
suse_bugzilla https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a https://bugzilla.suse.com/show_bug.cgi?id=1228775
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-41957 https://bugzilla.suse.com/show_bug.cgi?id=1228775
suse_bugzilla https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a https://bugzilla.suse.com/show_bug.cgi?id=1228775
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-41957 https://ubuntu.com/security/CVE-2024-41957
ubuntu https://github.com/vim/vim/security/advisories/GHSA-f9cr-gv85-hcr4 https://ubuntu.com/security/CVE-2024-41957
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-41957 https://ubuntu.com/security/CVE-2024-41957
ubuntu https://launchpad.net/bugs/cve/CVE-2024-41957 https://ubuntu.com/security/CVE-2024-41957
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-41957 https://ubuntu.com/security/CVE-2024-41957
debian https://security-tracker.debian.org/tracker/CVE-2024-41957
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-41957 https://explore.alas.aws.amazon.com/CVE-2024-41957.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-41957 https://explore.alas.aws.amazon.com/CVE-2024-41957.html

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a security-advisories.github.com
https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a suse_bugzilla
https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a suse_bugzilla
https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a nvd
https://github.com/vim/vim/security/advisories/GHSA-f9cr-gv85-hcr4 nvd
vim https://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a ubuntu

二、漏洞分析结构反馈
影响性分析说明:
在 src/alloc.c:616 中存在双重释放。关闭窗口时,相应的标签堆栈数据将被清除并释放。但是稍后,属于该窗口的快速修复列表也将被清除,如果该快速修复列表指向相同的标签堆栈数据,Vim 将尝试再次释放它,从而导致双重释放/释放后使用访问异常。影响很小,因为用户必须故意使用几个非默认标志执行 vim,但它可能会导致 Vim 崩溃。
openEuler评分:
5.3
Vector:CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
受影响版本排查(受影响/不受影响):
1.master(9.0.2092):受影响
2.openEuler-20.03-LTS-SP4(9.0):受影响
3.openEuler-22.03-LTS-SP1(9.0):受影响
4.openEuler-22.03-LTS-SP3(9.0):受影响
5.openEuler-22.03-LTS-SP4(9.0):受影响
6.openEuler-24.03-LTS(9.0.2092):受影响
7.openEuler-24.03-LTS-Next(9.0.2092):受影响

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

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

评论 (13)

openeuler-ci-bot 创建了CVE和安全问题 11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-41957NoneNonehttps://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a
https://ubuntu.com/security/CVE-2024-41957
https://www.opencve.io/cve/CVE-2024-41957NoneNonehttps://github.com/vim/vim/commit/8a0bbe7b8aad6f8da28dee218c01bc8a0185a
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-41957
https://security-tracker.debian.org/tracker/CVE-2024-41957

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此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 修改了描述 11个月前
openeuler-ci-bot 计划开始日期设置为2024-08-02 11个月前
openeuler-ci-bot 计划截止日期设置为2024-09-01 11个月前
openeuler-ci-bot 优先级设置为次要 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 计划开始日期2024-08-02 修改为2024-08-03 11个月前
openeuler-ci-bot 计划截止日期2024-09-01 修改为2024-09-02 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
xieminmin 负责人设置为wjiang 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
wjiang 通过合并 Pull Request !620: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
wjiang 通过合并 Pull Request !621: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前

影响性分析说明:
在 src/alloc.c:616 中存在双重释放。关闭窗口时,相应的标签堆栈数据将被清除并释放。但是稍后,属于该窗口的快速修复列表也将被清除,如果该快速修复列表指向相同的标签堆栈数据,Vim 将尝试再次释放它,从而导致双重释放/释放后使用访问异常。影响很小,因为用户必须故意使用几个非默认标志执行 vim,但它可能会导致 Vim 崩溃。
openEuler评分:
4.5
Vector:CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
受影响版本排查(受影响/不受影响):
1.master(9.0.2092):受影响
2.openEuler-20.03-LTS-SP4(9.0):受影响
3.openEuler-22.03-LTS-SP1(9.0):受影响
4.openEuler-22.03-LTS-SP3(9.0):受影响
5.openEuler-22.03-LTS-SP4(9.0):受影响
6.openEuler-24.03-LTS(9.0.2092):受影响
7.openEuler-24.03-LTS-Next(9.0.2092):受影响

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

openeuler-ci-bot 修改了描述 11个月前

影响性分析说明:
在 src/alloc.c:616 中存在双重释放。关闭窗口时,相应的标签堆栈数据将被清除并释放。但是稍后,属于该窗口的快速修复列表也将被清除,如果该快速修复列表指向相同的标签堆栈数据,Vim 将尝试再次释放它,从而导致双重释放/释放后使用访问异常。影响很小,因为用户必须故意使用几个非默认标志执行 vim,但它可能会导致 Vim 崩溃。
openEuler评分:
5.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
受影响版本排查(受影响/不受影响):
1.master(9.0.2092):受影响
2.openEuler-20.03-LTS-SP4(9.0):受影响
3.openEuler-22.03-LTS-SP1(9.0):受影响
4.openEuler-22.03-LTS-SP3(9.0):受影响
5.openEuler-22.03-LTS-SP4(9.0):受影响
6.openEuler-24.03-LTS(9.0.2092):受影响
7.openEuler-24.03-LTS-Next(9.0.2092):受影响

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

openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-sync-bot 通过合并 Pull Request !626: [sync] PR-620: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
wjiang 通过合并 Pull Request !627: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !625: [sync] PR-620: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !628: [sync] PR-627: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !629: [sync] PR-627: fix CVE-2024-41957 CVE-2024-41965任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 修改了描述 11个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 10102409 fwo 1726621257
1
https://gitee.com/src-openeuler/vim.git
git@gitee.com:src-openeuler/vim.git
src-openeuler
vim
vim

搜索帮助