CVE-2021-3631: A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels
CVE-2021-3631 is a medium-severity flaw (CVSS 6.3) affecting libvirt, openshift container platform, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2022-03-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3631?
libvirt: upgrade to 7.5.0; openshift container platform: downgrade or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-3631 being exploited?
CVE-2021-3631 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3631 affect?
CVE-2021-3631 affects libvirt, openshift container platform, enterprise linux. Severity is medium (CVSS 6.3). 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 highe
How urgent is CVE-2021-3631?
Priority 43/100. Public exploit reference; On your watchlist
Software pages
Red Hat OpenShift vulnerabilities
Related CVEs
- CVE-2024-8235 MEDIUM 6.2 UPGRADE A flaw was found in libvirt
- CVE-2024-2496 MEDIUM 5.0 UPGRADE MITIGATE A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt
- CVE-2023-3750 MEDIUM 6.5 MITIGATE MITIGATE A flaw was found in libvirt
- CVE-2023-2700 MEDIUM 5.5 DOWNGRADE MITIGATE A vulnerability was found in libvirt
- CVE-2022-0897 MEDIUM 4.3 UPGRADE MITIGATE A flaw was found in the libvirt nwfilter driver