CWE
416
Advisory Published
CVE Published
Updated

CVE-2021-3975: Use After Free

First published: Wed Nov 17 2021(Updated: )

A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Redhat Libvirt<7.1.0
Canonical Ubuntu Linux=21.10
Fedoraproject Fedora=35
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux Eus=8.6
Redhat Enterprise Linux For Ibm Z Systems=8.0
Redhat Enterprise Linux For Ibm Z Systems Eus=8.6
Redhat Enterprise Linux For Power Little Endian=8.0
Redhat Enterprise Linux For Power Little Endian Eus=8.6
Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
Redhat Enterprise Linux Server Tus=8.6
Redhat Codeready Linux Builder
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux Eus=8.6
Redhat Enterprise Linux For Ibm Z Systems=8.0
Redhat Enterprise Linux For Ibm Z Systems Eus=8.6
Redhat Enterprise Linux For Power Little Endian=8.0
Redhat Enterprise Linux For Power Little Endian Eus=8.6
Debian Debian Linux=10.0
Debian Debian Linux=11.0
NetApp ONTAP Select Deploy administration utility
redhat/libvirt<7.1.0
7.1.0
All of
Redhat Codeready Linux Builder
Any of
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux Eus=8.6
Redhat Enterprise Linux For Ibm Z Systems=8.0
Redhat Enterprise Linux For Ibm Z Systems Eus=8.6
Redhat Enterprise Linux For Power Little Endian=8.0
Redhat Enterprise Linux For Power Little Endian Eus=8.6
debian/libvirt
7.0.0-3+deb11u3
9.0.0-4+deb12u1
10.7.0-3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-3975?

    CVE-2021-3975 is a use-after-free vulnerability found in libvirt.

  • What is the severity of CVE-2021-3975?

    The severity of CVE-2021-3975 is medium with a CVSS score of 6.5.

  • How does CVE-2021-3975 affect libvirt?

    CVE-2021-3975 affects libvirt by allowing an attacker to trigger a use-after-free flaw, potentially leading to arbitrary code execution or a denial of service.

  • How can I fix CVE-2021-3975?

    To fix CVE-2021-3975, update libvirt to version 7.1.0 or later.

  • Where can I find more information about CVE-2021-3975?

    You can find more information about CVE-2021-3975 on the Red Hat Security Advisory and the GitHub commit linked in the references.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203