Live threats

All CVEs / Redhat

CVE-2021-3975Redhat Libvirt

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
Yes
Published
Aug 23, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libvirt.

Affected products (CPE)

VendorProductVersions
redhatlibvirt< 7.1.0
canonicalubuntu_linux21.10
fedoraprojectfedora35
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.6
redhatenterprise_linux_for_ibm_z_systems8.0
redhatenterprise_linux_for_ibm_z_systems_eus8.6
redhatenterprise_linux_for_power_little_endian8.0
redhatenterprise_linux_for_power_little_endian_eus8.6
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.6
redhatenterprise_linux_server_tus8.6
redhatcodeready_linux_builderall
debiandebian_linux10.0
debiandebian_linux11.0
netappontap_select_deploy_administration_utilityall

Official sources

References

Links published by the sources. Open them with care.