CVE & CISA-KEV Catalog

CVE-2021-3975

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libvirtDebian
Fixed in:7.0.0-3+deb11u3CVE-2021-3975
Fixed in:7.6.0-1CVE-2021-3975
Fixed in:7.6.0-1CVE-2021-3975
Fixed in:7.6.0-1CVE-2021-3975
libvirtUbuntu
Fixed in:4.0.0-1ubuntu8.21USN-5399-1
Fixed in:6.0.0-0ubuntu8.16USN-5399-1
libvirt-daemonUbuntu
Fixed in:4.0.0-1ubuntu8.21USN-5399-1
Fixed in:6.0.0-0ubuntu8.16USN-5399-1
libvirt-daemon-systemUbuntu
Fixed in:4.0.0-1ubuntu8.21USN-5399-1
Fixed in:6.0.0-0ubuntu8.16USN-5399-1
libvirt0Ubuntu
Fixed in:4.0.0-1ubuntu8.21USN-5399-1
Fixed in:6.0.0-0ubuntu8.16USN-5399-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.21%probability of exploitation in 30 days
65thpercentile

Moderate risk: more likely to be exploited than 65% of all known CVEs.

References

Related Vulnerabilities

Other CWE-416 (Use After Free) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0708Critical9.8100%KEV + Ransom-
CVE-2021-31166Critical9.8100%KEVFix
CVE-2015-5119Critical9.899%KEV-
CVE-2010-3962High8.197%KEV-
CVE-2015-0313Critical9.896%KEVFix
CVE-2017-9798High7.595%-Fix
Embed a live status badge for CVE-2021-3975
CVE-2021-3975 severity badge

Markdown

[![CVE-2021-3975](https://tridentstack.com/cve/badge/CVE-2021-3975.svg)](https://tridentstack.com/cve/CVE-2021-3975)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3975"><img src="https://tridentstack.com/cve/badge/CVE-2021-3975.svg" alt="CVE-2021-3975"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.