Medium severity · published Aug 23, 2022
CVE-2021-3975
A use-after-free flaw was found in libvirt
6.5
CVSS
1.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
Codeready Linux Builder · Redhat
All versions, or not specified · source: NVD
DL
Debian Linux · Debian
10.0; 11.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0 · source: NVD
EL
Enterprise Linux Eus · Redhat
8.6 · source: NVD
EL
Enterprise Linux For Ibm Z Systems · Redhat
8.0 · source: NVD
EL
Enterprise Linux For Ibm Z Systems Eus · Redhat
8.6 · source: NVD
EL
Enterprise Linux For Power Little Endian · Redhat
8.0 · source: NVD
EL
Enterprise Linux For Power Little Endian Eus · Redhat
8.6 · source: NVD
EL
EL
Enterprise Linux Server Tus · Redhat
8.6 · source: NVD
FE
Fedora · Fedoraproject
35 · source: NVD
LI
Libvirt · Redhat
before 7.1.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3975
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3975
Issue Tracking
https://access.redhat.com/security/cve/CVE-2021-3975
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2024326
Patch
https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20221201-0002/
Patch
https://ubuntu.com/security/CVE-2021-3975
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
