cbcvebase.
CVE-2024-2494
published 2024-03-21

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…

PriorityP422medium6.2CVSS 3.1
AVLACLPRNUINSUCNINAH
EPSS
0.36%
28.7th percentile
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

13 ranges
VendorProductVersion rangeFixed in
debianlibvirt< libvirt 9.0.0-4+deb12u1 (bookworm)libvirt 9.0.0-4+deb12u1 (bookworm)
msrcazl3_libvirt_10.0.0-5_on_azure_linux_3.0
msrccbl2_libvirt_7.10.0-10_on_cbl_mariner_2.0
msrccbl2_libvirt_7.10.0-9_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
redhatlibvirt>= 0 < 7.0.0-3+deb11u37.0.0-3+deb11u3
redhatlibvirt>= 0 < 9.0.0-4+deb12u19.0.0-4+deb12u1
redhatlibvirt>= 0 < 10.2.0-110.2.0-1
redhatlibvirt>= 0 < 10.2.0-110.2.0-1
redhatlibvirt>= 0 < 6.0.0-0ubuntu8.196.0.0-0ubuntu8.19
redhatlibvirt>= 0 < 8.0.0-1ubuntu7.108.0.0-1ubuntu7.10
redhatlibvirt>= 0 < 10.0.0-2ubuntu8.110.0.0-2ubuntu8.1

CVSS provenance

nvdv3.16.2MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv6.2MEDIUM
vendor_debian6.2MEDIUM
vendor_msrc6.2MEDIUM
vendor_redhat6.2MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.