UBUNTU-CVE-2024-2494

    Dashboard / Vulnerabilities / UBUNTU-CVE-2024-2494

    UBUNTU-CVE-2024-2494

    Published: 20 Mar 2024Last Modified: 20 Aug 2026

    Summary:

    Details: A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user 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=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.2-0ubuntu13.1.28+esm2

    Affected versions

    1.1.1-0ubuntu8
    1.1.1-0ubuntu9
    1.1.4-0ubuntu2
    1.1.4-0ubuntu3
    1.1.4-0ubuntu4
    1.1.4-0ubuntu5

    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-2024-2494 | CVE-DB