cbcvebase.
CVE-2024-4418
published 2024-05-08

CVE-2024-4418: A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data`…

PriorityP428medium6.2CVSS 3.1
AVLACLPRNUINSUCNINAH
EPSS
0.49%
38.6th percentile
A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it.

Affected

7 ranges
VendorProductVersion rangeFixed in
debianlibvirt< libvirt 10.3.0-1 (forky)libvirt 10.3.0-1 (forky)
msrcazl3_libvirt_10.0.0-5_on_azure_linux_3.0
msrccbl2_libvirt_7.10.0-10_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
redhatlibvirt>= 0 < 10.3.0-110.3.0-1
redhatlibvirt>= 0 < 10.3.0-110.3.0-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.2LOW
vendor_msrc6.2MEDIUM
vendor_redhat6.2MEDIUM
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.