Vulnerability Details : CVE-2024-2494
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.
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
-
https://access.redhat.com/errata/RHSA-2024:3253
RHSA-2024:3253 - Security Advisory - Red Hat Customer Portal
-
https://access.redhat.com/security/cve/CVE-2024-2494
CVE-2024-2494- Red Hat Customer Portal
-
https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/BKRQXPLPC6B7FLHJXSBQYW7HNDEBW6RJ/
[PATCH] remote: check for negative array lengths before allocation - Devel - Libvirt List Archives
-
https://bugzilla.redhat.com/show_bug.cgi?id=2270115
2270115 – (CVE-2024-2494) CVE-2024-2494 libvirt: negative g_new0 length can lead to unbounded memory allocation
-
https://security.netapp.com/advisory/ntap-20240517-0009/
CVE-2024-2494 Libvirt Vulnerability in NetApp Products | NetApp Product Security
-
https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html
[SECURITY] [DLA 3778-1] libvirt security update
-
https://access.redhat.com/errata/RHSA-2024:2560
RHSA-2024:2560 - Security Advisory - Red Hat Customer Portal
Jump to