CVE-2021-3975

MEDIUM

libvirt < 7.1.0 - Use-After-Free in qemuMonitorUnregister

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 6.5
EPSS 0.0054
EPSS Percentile 67.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-416
Status published
Products (15)
canonical/ubuntu_linux 21.10
debian/debian_linux 10.0
debian/debian_linux 11.0
fedoraproject/fedora 35
netapp/ontap_select_deploy_administration_utility
redhat/codeready_linux_builder
redhat/enterprise_linux 8.0
redhat/enterprise_linux_eus 8.6
redhat/enterprise_linux_for_ibm_z_systems 8.0
redhat/enterprise_linux_for_ibm_z_systems_eus 8.6
... and 5 more
Published Aug 23, 2022
Tracked Since Feb 18, 2026