# CVE-2021-3631: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels.

- Severity: Medium 6.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-02T00:00:00.000Z
- Modified: 2026-06-17T04:05:28.457Z
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libvirt: Fixed-In - libvirt v7.5.0
- redhat libvirt: before 7.5.0
- redhat openshift_container_platform: 4.8
- redhat enterprise_linux: 8.0
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.3 Low `AV:L/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://gitlab.com/libvirt/libvirt/-/issues/153> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1977726> (issue-tracking, vendor-advisory)
- <https://gitlab.com/libvirt/libvirt/-/commit/15073504dbb624d3f6c911e85557019d3620fdb2> (patch, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2021:3631> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220331-0010/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202210-06> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html> (mailing-list)

## Sources

- CVE List: [CVE-2021-3631](https://www.cve.org/CVERecord?id=CVE-2021-3631), CVE Terms of Use, modified 2024-11-19
- NVD: [CVE-2021-3631](https://nvd.nist.gov/vuln/detail/CVE-2021-3631), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3631 · Whole record: https://cve.day/CVE-2021-3631.json · Rebuilt by cve.day 2026-11-25T22:58:07.101Z
