Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2024:4351
- https://access.redhat.com/errata/RHSA-2024:4432
- https://access.redhat.com/errata/RHSA-2024:4757
- https://access.redhat.com/security/cve/CVE-2024-4418
- https://bugzilla.redhat.com/show_bug.cgi?id=2278616
- https://access.redhat.com/errata/RHSA-2024:4351
- https://access.redhat.com/errata/RHSA-2024:4432
- https://access.redhat.com/errata/RHSA-2024:4757
- https://access.redhat.com/security/cve/CVE-2024-4418
- https://bugzilla.redhat.com/show_bug.cgi?id=2278616
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://security.netapp.com/advisory/ntap-20250411-0002/
FAQ
What is CVE-2024-4418?
CVE-2024-4418 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 virNetClientIOEve...
How severe is CVE-2024-4418?
CVE-2024-4418 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-4418?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.