CVE-2021-3631: Medium severity redhat libvirt vulnerability

Published Apr 13, 2021
·
Updated

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.

Other sources

A flaw was found in libvirt while it generates SELinux MCS category pairs for VMs' dynamic labels. This flaw may allow one exploited guest to access files labelled for another guest, thus breaking out of sVirt confinement.

Upstream issue: https://gitlab.com/libvirt/libvirt/-/issues/153

— Red Hat

Affected Software

16 affected componentsFixes available
redhat/libvirt<7.5.0
7.5.0
debian/libvirt
7.0.0-3+deb11u39.0.0-4+deb12u110.7.0-3
redhat libvirt<7.5.0
redhat OpenShift Container Platform=4.8
redhat Enterprise Linux=8.0
NetApp ONTAP Select Deploy administration utility
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0
alpine/libvirt<7.5.0-r0
7.5.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libvirt to a version that resolves this vulnerability.

    Fixed in 7.5.0
  2. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 7.0.0-3+deb11u3Fixed in 9.0.0-4+deb12u1Fixed in 10.7.0-3
  3. Upgrade

    Upgrade alpine/libvirt to a version that resolves this vulnerability.

    Fixed in 7.5.0-r0

Event History

Apr 13, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software
Apr 17, 2022
Data Sourced
via Red Hat·09:28 PM
DescriptionSeverityAffected Software
Oct 28, 2022
Data Sourced
via NVD·08:09 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
08:09 PM
Affected Software
Apr 1, 2024
Updated
via NVD·01:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·04:05 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this flaw in libvirt?

The vulnerability ID is CVE-2021-3631.

2

What is the severity level of CVE-2021-3631?

The severity level of CVE-2021-3631 is low.

3

How does CVE-2021-3631 affect confidentiality?

CVE-2021-3631 poses a threat to confidentiality.

4

What software versions are affected by CVE-2021-3631?

Versions 6.0.0-0ubuntu8.16, 7.6.0-1, 4.0.0-1ubuntu8.21, 7.6.0-0ubuntu3, 7.6.0-0ubuntu3, 7.6.0-0ubuntu3, 7.5.0, 9.0.0-4, and 9.7.0-1 of libvirt are affected by CVE-2021-3631.

5

How can I fix CVE-2021-3631?

Run the recommended updates for the affected libvirt versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203