cve.bz

CVE-2021-4147 Improper Locking

6.5 mediumEPSS 0.2%Fix available

Medium (6.5). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the libvirt libxl driver. A malicious guest could continuously reboot itself and cause libvirtd on the host to deadlock or crash, resulting in a denial of service condition.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-667 Improper Locking
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4147 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4147?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4147?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4147 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:libvirtbefore 2.33.0
fedoraproject:fedora35

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libvirt5.0.0-4+deb10u2DLA-3778-1
Debian12, 13, 14libvirt7.10.0-2DEBIAN-CVE-2021-4147
Ubuntu18.04:LTSlibvirt4.0.0-1ubuntu8.21UBUNTU-CVE-2021-4147 USN-5399-1
Ubuntu20.04:LTSlibvirt6.0.0-0ubuntu8.16UBUNTU-CVE-2021-4147 USN-5399-1
Ubuntu22.04:LTSlibvirt8.0.0-1ubuntu7.19USN-8652-1
Ubuntu24.04:LTSlibvirt10.0.0-2ubuntu8.16USN-8652-1
Ubuntu26.04:LTSlibvirt12.0.0-1ubuntu5.3USN-8652-1
UbuntuPro:14.04:LTSlibvirtno fix listedUBUNTU-CVE-2021-4147 USN-8652-1
UbuntuPro:16.04:LTSlibvirt1.3.1-1ubuntu10.31+esm1UBUNTU-CVE-2021-4147 USN-8652-1
UbuntuPro:18.04:LTSlibvirt4.0.0-1ubuntu8.21+esm1USN-8652-1
UbuntuPro:20.04:LTSlibvirt6.0.0-0ubuntu8.20+esm1USN-8652-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morelibvirt5.1.0-17.1SUSE-SU-2022:0128-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 morelibvirt6.0.0-13.24.1SUSE-SU-2022:0045-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morelibvirt3.3.0-5.49.1SUSE-SU-2022:0041-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morelibvirt4.0.0-9.40.1SUSE-SU-2022:0031-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3libvirt7.1.0-6.11.1SUSE-SU-2022:0021-1
SUSELinux Enterprise Real Time 15 SP2libvirt6.0.0-13.24.1SUSE-SU-2022:0045-2
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morelibvirt4.0.0-8.26.1SUSE-SU-2022:0042-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libvirt5.1.0-13.28.2SUSE-SU-2022:0032-1
openSUSELeap 15.3libvirt7.1.0-6.11.1openSUSE-SU-2022:0021-1
openSUSETumbleweedlibvirt8.0.0-1.1openSUSE-SU-2024:11758-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The versions of `libvirt` as shipped with Red Hat Enterprise Linux do not support the libxl hypervisor driver for Xen. Therefore, Red Hat Enterprise Linux is not affected by this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libvirtNot affected
Red Hat Enterprise Linux 7libvirtNot affected
Red Hat Enterprise Linux 8virt:rhel/libvirtNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/libvirtNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/libvirtNot affected
Red Hat Enterprise Linux 9libvirtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4147.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON