CVE-2021-3975
MEDIUM 6.5EPSS 1.6%
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.
- Affected
- libvirt
- CVSS v3.1 NVD
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS
- 1.64% chance of exploitation in the next 30 days, 76th percentile
- Published
- 2022-08-23
- Updated
- 2024-08-03
Proof-of-concept exploits (1)
- yan5ui/ENV-CVE-2021-39750★ · 2026-06-18
Security advisories
- https://access.redhat.com/security/cve/CVE-2021-3975
- https://bugzilla.redhat.com/show_bug.cgi?id=2024326
- libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
- https://security.netapp.com/advisory/ntap-20221201-0002
- https://ubuntu.com/security/CVE-2021-3975