Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
10
Star
0
Fork
63
src-openEuler
/
vim
Closed
Code
Issues
1
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2024-43374
Done
#IAKFXC
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2024-08-16 10:46
一、漏洞信息 漏洞编号:[CVE-2024-43374](https://nvd.nist.gov/vuln/detail/CVE-2024-43374) 漏洞归属组件:[vim](https://gitee.com/src-openeuler/vim) 漏洞归属的版本:8.2,9.0,9.0.2092 CVSS V3.0分值: BaseScore:4.5 Medium Vector:CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L 漏洞简述: The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678. 漏洞公开时间:2024-08-16 10:15:17 漏洞创建时间:2024-08-16 18:46:26 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-43374 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | | security-advisories.github.com | https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-43374 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://seclists.org/oss-sec/2024/q3/205 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-43374 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-43374 | | trousers | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | https://seclists.org/oss-sec/2024/q3/205 | | trousers | https://github.com/vim/vim/security/GHSA-2w8m-443v-cgvw | https://seclists.org/oss-sec/2024/q3/205 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2024-43374 | https://explore.alas.aws.amazon.com/CVE-2024-43374.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43374 | https://explore.alas.aws.amazon.com/CVE-2024-43374.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | security-advisories.github.com | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | suse_bugzilla | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | trousers | </details> 二、漏洞分析结构反馈 影响性分析说明: vim组件在处理参数列表时存在使用释放后的内存错误。将新文件添加到参数列表时,会触发 Buf* 自动命令。如果在这样的自动命令中关闭刚刚打开的缓冲区(包括显示该缓冲区的窗口),则会导致释放包含对我们实际正在修改的参数列表的引用的窗口结构。自动命令完成后,对窗口和参数列表的引用将不再有效,因此会导致使用释放后内存。这可能导致程序崩溃、访问意外值等错误。 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):否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2026
一、漏洞信息 漏洞编号:[CVE-2024-43374](https://nvd.nist.gov/vuln/detail/CVE-2024-43374) 漏洞归属组件:[vim](https://gitee.com/src-openeuler/vim) 漏洞归属的版本:8.2,9.0,9.0.2092 CVSS V3.0分值: BaseScore:4.5 Medium Vector:CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L 漏洞简述: The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678. 漏洞公开时间:2024-08-16 10:15:17 漏洞创建时间:2024-08-16 18:46:26 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-43374 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | | security-advisories.github.com | https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-43374 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://seclists.org/oss-sec/2024/q3/205 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2024-43374 | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | suse_bugzilla | https://github.com/vim/vim/security/advisories/GHSA-2w8m-443v-cgvw | https://bugzilla.suse.com/show_bug.cgi?id=1229238 | | debian | | https://security-tracker.debian.org/tracker/CVE-2024-43374 | | trousers | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | https://seclists.org/oss-sec/2024/q3/205 | | trousers | https://github.com/vim/vim/security/GHSA-2w8m-443v-cgvw | https://seclists.org/oss-sec/2024/q3/205 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2024-43374 | https://explore.alas.aws.amazon.com/CVE-2024-43374.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43374 | https://explore.alas.aws.amazon.com/CVE-2024-43374.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | security-advisories.github.com | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | suse_bugzilla | | | | https://github.com/vim/vim/commit/0a6e57b09bc8c76691b367a5babfb79b31b770e8 | | trousers | </details> 二、漏洞分析结构反馈 影响性分析说明: vim组件在处理参数列表时存在使用释放后的内存错误。将新文件添加到参数列表时,会触发 Buf* 自动命令。如果在这样的自动命令中关闭刚刚打开的缓冲区(包括显示该缓冲区的窗口),则会导致释放包含对我们实际正在修改的参数列表的引用的窗口结构。自动命令完成后,对窗口和参数列表的引用将不再有效,因此会导致使用释放后内存。这可能导致程序崩溃、访问意外值等错误。 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):否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2026
Comments (
10
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
Labels
CVE/FIXED
sig/Base-service
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/vim.git
git@gitee.com:src-openeuler/vim.git
src-openeuler
vim
vim
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register