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.
Published 2024-03-21 13:39:09
Updated 2024-09-14 00:15:17
Source Red Hat, Inc.
View at NVD,   CVE.org
Vulnerability category: Denial of service

Products affected by CVE-2024-2494

Please log in to view affected product information.

Exploit prediction scoring system (EPSS) score for CVE-2024-2494

0.03%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2024-2494

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.2
MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2.5
3.6
Red Hat, Inc. 2024-03-21
6.2
MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
N/A
N/A
RedHat-CVE-2024-2494 2024-03-21

CWE ids for CVE-2024-2494

  • The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
    Assigned by: secalert@redhat.com (Primary)

References for CVE-2024-2494

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!