UBUNTU-CVE-2021-3975

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-3975

    UBUNTU-CVE-2021-3975

    Published: 24 Nov 2021Last Modified: 15 Aug 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: libvirt

    Purl: pkg:deb/ubuntu/libvirt?arch=source&distro=bionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.0.0-1ubuntu8.21

    Affected versions

    3.6.0-1ubuntu5
    3.6.0-1ubuntu6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-3975 | CVE-DB