18 Star 21 Fork 70

src-openEuler / libvirt

 / 详情

CVE-2021-3975

已完成
CVE和安全问题
创建于  
2022-08-25 15:35

一、漏洞信息
漏洞编号:CVE-2021-3975
漏洞归属组件:libvirt
漏洞归属的版本:6.2.0
CVSS V3.0分值:
BaseScore:6.5 Medium
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞简述:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.
漏洞公开时间:2022-08-24 04:15:00
漏洞创建时间:2022-08-25 15:35:52
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2021-3975

更多参考(点击展开)
参考来源 参考链接 来源链接
nvd https://access.redhat.com/security/cve/CVE-2021-3975
nvd https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
nvd https://ubuntu.com/security/CVE-2021-3975
nvd https://bugzilla.redhat.com/show_bug.cgi?id=2024326
nvd https://security.netapp.com/advisory/ntap-20221201-0002/
redhat https://access.redhat.com/security/cve/CVE-2021-3975
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2024326 https://bugzilla.suse.com/show_bug.cgi?id=1192876
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3975 https://bugzilla.suse.com/show_bug.cgi?id=1192876
redhat_bugzilla https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7 https://bugzilla.redhat.com/show_bug.cgi?id=2024326
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:1759 https://bugzilla.redhat.com/show_bug.cgi?id=2024326
redhat_bugzilla https://access.redhat.com/security/cve/cve-2021-3975 https://bugzilla.redhat.com/show_bug.cgi?id=2024326
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3975 https://ubuntu.com/security/CVE-2021-3975
ubuntu https://ubuntu.com/security/notices/USN-5399-1 https://ubuntu.com/security/CVE-2021-3975
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2021-3975 https://ubuntu.com/security/CVE-2021-3975
ubuntu https://launchpad.net/bugs/cve/CVE-2021-3975 https://ubuntu.com/security/CVE-2021-3975
ubuntu https://security-tracker.debian.org/tracker/CVE-2021-3975 https://ubuntu.com/security/CVE-2021-3975
ubuntu https://bugzilla.redhat.com/show_bug.cgi?id=2024326 https://ubuntu.com/security/CVE-2021-3975
debian https://security-tracker.debian.org/tracker/CVE-2021-3975
oracle https://www.oracle.com/security-alerts/linuxbulletinapr2022.html
anolis https://anas.openanolis.cn/cves/detail/CVE-2021-3975
cve_search https://access.redhat.com/security/cve/CVE-2021-3975
cve_search https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
cve_search https://ubuntu.com/security/CVE-2021-3975
cve_search https://bugzilla.redhat.com/show_bug.cgi?id=2024326
cve_search https://security.netapp.com/advisory/ntap-20221201-0002/
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2024326
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3975
redhat_bugzilla https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
redhat_bugzilla https://access.redhat.com/errata/RHSA-2022:1759
redhat_bugzilla https://access.redhat.com/security/cve/cve-2021-3975
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2024326
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3975
ubuntu https://ubuntu.com/security/notices/USN-5399-1
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2021-3975
ubuntu https://launchpad.net/bugs/cve/CVE-2021-3975
ubuntu https://security-tracker.debian.org/tracker/CVE-2021-3975
ubuntu https://bugzilla.redhat.com/show_bug.cgi?id=2024326
debian https://security-tracker.debian.org/tracker/CVE-2021-3975
oracle https://www.oracle.com/security-alerts/linuxbulletinapr2022.html
anolis https://anas.openanolis.cn/cves/detail/CVE-2021-3975
nvd https://access.redhat.com/security/cve/CVE-2021-3975
nvd https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
nvd https://ubuntu.com/security/CVE-2021-3975
nvd https://bugzilla.redhat.com/show_bug.cgi?id=2024326

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7 nvd
https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7 redhat_bugzilla

二、漏洞分析结构反馈
影响性分析说明:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.
openEuler评分:
5.3
Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(6.2.0):受影响
2.openEuler-20.03-LTS-SP3(6.2.0):受影响
3.openEuler-22.03-LTS(6.2.0):受影响
4.openEuler-22.09(6.2.0):受影响

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

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

评论 (18)

wangxiaoya 创建了CVE和安全问题

Hi ryuo, 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: Virt, and any of the maintainers: @Bin Wu , @ZhiGang , @alexchen , @imxcc , @朱科潜 , @Chuan , @frankyj915 , @yezengruan , @ZhangBo , @yubihong

openeuler-ci-bot 添加了
 
sig/Virt
标签
openeuler-ci-bot 修改了描述
openeuler-ci-bot 负责人设置为Bin Wu
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
yezengruan 负责人Bin Wu 修改为yezengruan

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


影响性分析说明:

openEuler评分: (评分和向量)

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

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


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

参考网址 关联pr 状态 补丁链接
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2021-3975 None None https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
https://www.opencve.io/cve/CVE-2021-3975 None None https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
https://security-tracker.debian.org/tracker/CVE-2021-3975 None None https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
https://ubuntu.com/security/CVE-2021-3975 None None https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2021-3975

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

@wangxiaoya CVE信息从NVD同步成功, 稍后请重新加载页面.

影响性分析说明:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

openEuler评分: (评分和向量)
BaseScore:0.0 Low

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

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

openeuler-ci-bot 修改了描述

@yezengruan 2.openEulerScore=> 没有填写或正确填写(0-10)

影响性分析说明:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

openEuler评分: (评分和向量)
0.0

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

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

@yezengruan 2.openEulerScore=> 没有填写或正确填写(0-10)

影响性分析说明:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

openEuler评分: (评分和向量)
0.0 Low

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

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

@yezengruan 2.openEulerScore=> 没有填写或正确填写(0-10)

影响性分析说明:
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

openEuler评分: (评分和向量)
5.3
Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

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

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

@yezengruan 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.
已分析 2.openEulerScore 5.3
已分析 2.openEulerVector AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
已分析 3.受影响版本排查 openEuler-20.03-LTS-SP1:受影响,openEuler-20.03-LTS-SP3:受影响,openEuler-22.03-LTS:受影响,openEuler-22.09:受影响
已分析 4.修复是否涉及abi变化 openEuler-20.03-LTS-SP1:否,openEuler-20.03-LTS-SP3:否,openEuler-22.03-LTS:否,openEuler-22.09:否

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

openeuler-ci-bot 修改了描述
yezengruan 通过openeuler/libvirt Pull Request !75任务状态待办的 修改为已完成

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-20.03-LTS-SP1/openEuler-20.03-LTS-SP3/openEuler-22.03-LTS
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 任务状态已完成 修改为待办的
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
yezengruan 通过src-openeuler/libvirt Pull Request !164任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-22.03-LTS/openEuler-20.03-LTS-SP1/openEuler-20.03-LTS-SP3
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
yezengruan 通过src-openeuler/libvirt Pull Request !168任务状态待办的 修改为已完成

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-20.03-LTS-SP1/openEuler-22.03-LTS
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 任务状态已完成 修改为待办的
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
yezengruan 通过src-openeuler/libvirt Pull Request !167任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-22.03-LTS
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
yezengruan 通过src-openeuler/libvirt Pull Request !165任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-22.03-LTS
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
yezengruan 通过openeuler/libvirt Pull Request !76任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@zhanghailiang ,@Bin Wu ,@ZhiGang ,@alexchen ,@王征 ,@imxcc ,@朱科潜 ,@frankyj915 ,@yezengruan
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5O3BC:CVE-2021-3975
受影响分支: openEuler-22.03-LTS
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
openeuler-sync-bot 通过src-openeuler/libvirt Pull Request !169任务状态待办的 修改为已完成
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签
openeuler-ci-bot 修改了描述
openeuler-ci-bot 修改了描述
openeuler-ci-bot 计划开始日期设置为2022-08-25
openeuler-ci-bot 计划截止日期设置为2022-09-24
openeuler-ci-bot 优先级设置为次要
openeuler-ci-bot 移除了
 
CVE/FIXED
标签
openeuler-ci-bot 移除了
 
sig/Virt
标签
openeuler-ci-bot 添加了
 
CVE/UNAFFECTED
标签
openeuler-ci-bot 添加了
 
sig/Virt
标签

登录 后才可以发表评论

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

搜索帮助