CVE-2021-3631
published 2022-03-02CVE-2021-3631: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled…
PriorityP433medium6.3CVSS 3.1
AVLACHPRLUINSUCHIHAN
EPSS
0.49%
39.1th percentile
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libvirt | < libvirt 7.6.0-1 (bookworm) | libvirt 7.6.0-1 (bookworm) |
| msrc | cm1_libvirt_6.1.0-5_on_cbl_mariner_1.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | libvirt | < 7.5.0 | 7.5.0 |
| redhat | libvirt | — | — |
| redhat | libvirt | >= 0 < 7.0.0-3+deb11u3 | 7.0.0-3+deb11u3 |
| redhat | libvirt | >= 0 < 7.6.0-1 | 7.6.0-1 |
| redhat | libvirt | >= 0 < 7.6.0-1 | 7.6.0-1 |
| redhat | libvirt | >= 0 < 7.6.0-1 | 7.6.0-1 |
| redhat | libvirt | >= 0 < 4.0.0-1ubuntu8.21 | 4.0.0-1ubuntu8.21 |
| redhat | libvirt | >= 0 < 6.0.0-0ubuntu8.16 | 6.0.0-0ubuntu8.16 |
| redhat | openshift_container_platform | — | — |
CVSS provenance
nvdv3.16.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.03.3LOWAV:L/AC:M/Au:N/C:P/I:P/A:N
osv6.7MEDIUM
vendor_ubuntu6.7MEDIUM
vendor_debian6.3MEDIUM
vendor_msrc6.3MEDIUM
vendor_redhat6.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
libvirt vulnerabilities
osv·2022-05-02·CVSS 6.7
CVE-2021-3667 [MEDIUM] libvirt vulnerabilities
libvirt vulnerabilities
It was discovered that libvirt incorrectly handled certain locking
operations. A local attacker could possibly use this issue to cause libvirt
to stop accepting connections, resulting in a denial of service. This issue
only affected Ubuntu 20.04 LTS. (CVE-2021-3667)
It was discovered that libvirt incorrectly handled threads during shutdown.
A local attacker could possibly use this issue to cause libvirt to crash,
resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS
and Ubuntu 20.04 LTS. (CVE-2021-3975)
It was discovered that libvirt incorrectly handled the libxl driver. An
attacker inside a guest could possibly use this issue to cause libvirtd
to crash or stop responding, resulting in a denial of service. This issue
only affected Ubuntu 18.
GHSA
GHSA-4225-xq9f-4ww3: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels
ghsa_unreviewed·2022-03-04
CVE-2021-3631 [MEDIUM] CWE-732 GHSA-4225-xq9f-4ww3: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
OSV
CVE-2021-3631: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels
osv·2022-03-02·CVSS 6.3
CVE-2021-3631 [MEDIUM] CVE-2021-3631: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
Ubuntu
libvirt vulnerabilities
vendor_ubuntu·2022-05-02·CVSS 6.7
CVE-2021-3631 [MEDIUM] libvirt vulnerabilities
Title: libvirt vulnerabilities
Summary: Several security issues were fixed in libvirt.
It was discovered that libvirt incorrectly handled certain locking
operations. A local attacker could possibly use this issue to cause libvirt
to stop accepting connections, resulting in a denial of service. This issue
only affected Ubuntu 20.04 LTS. (CVE-2021-3667)
It was discovered that libvirt incorrectly handled threads during shutdown.
A local attacker could possibly use this issue to cause libvirt to crash,
resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS
and Ubuntu 20.04 LTS. (CVE-2021-3975)
It was discovered that libvirt incorrectly handled the libxl driver. An
attacker inside a guest could possibly use this issue to cause libvirtd
to crash or stop responding, resul
Microsoft
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest resulting in the break
vendor_msrc·2022-03-08·CVSS 6.3
CVE-2021-3631 [MEDIUM] CWE-732 A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest resulting in the break
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025
Red Hat
libvirt: Insecure sVirt label generation
vendor_redhat·2021-04-13·CVSS 6.3
CVE-2021-3631 [MEDIUM] CWE-732 libvirt: Insecure sVirt label generation
libvirt: Insecure sVirt label generation
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
Statement: This flaw affects all versions of `libvirt` as shipped with Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 8 Advan
Debian
CVE-2021-3631: libvirt - A flaw was found in libvirt while it generates SELinux MCS category pairs for VM...
vendor_debian·2021·CVSS 6.3
CVE-2021-3631 [MEDIUM] CVE-2021-3631: libvirt - A flaw was found in libvirt while it generates SELinux MCS category pairs for VM...
A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw allows one exploited guest to access files labeled for another guest, resulting in the breaking out of sVirt confinement. The highest threat from this vulnerability is to confidentiality and integrity.
Scope: local
bookworm: resolved (fixed in 7.6.0-1)
bullseye: resolved (fixed in 7.0.0-3+deb11u3)
forky: resolved (fixed in 7.6.0-1)
sid: resolved (fixed in 7.6.0-1)
trixie: resolved (fixed in 7.6.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2021:3631https://bugzilla.redhat.com/show_bug.cgi?id=1977726https://gitlab.com/libvirt/libvirt/-/commit/15073504dbb624d3f6c911e85557019d3620fdb2https://gitlab.com/libvirt/libvirt/-/issues/153https://lists.debian.org/debian-lts-announce/2024/04/msg00000.htmlhttps://security.gentoo.org/glsa/202210-06https://security.netapp.com/advisory/ntap-20220331-0010/https://access.redhat.com/errata/RHSA-2021:3631https://bugzilla.redhat.com/show_bug.cgi?id=1977726https://gitlab.com/libvirt/libvirt/-/commit/15073504dbb624d3f6c911e85557019d3620fdb2https://gitlab.com/libvirt/libvirt/-/issues/153https://lists.debian.org/debian-lts-announce/2024/04/msg00000.htmlhttps://security.gentoo.org/glsa/202210-06https://security.netapp.com/advisory/ntap-20220331-0010/
2022-03-02
Published