CVEvulnerability
CVE-2024-4418
6.2 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2024-05-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.2 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-562
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.
Related
Weakness · CWE (1)
- CWE-562 Return of Stack Variable Address weakness
References
- https://access.redhat.com/errata/RHSA-2024:4351 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:4432 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:4757 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2024-4418 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2278616 bugzilla.redhat.com
- https://access.redhat.com/errata/RHSA-2024:4351 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:4432 access.redhat.com
- https://access.redhat.com/errata/RHSA-2024:4757 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2024-4418 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2278616 bugzilla.redhat.com
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4IE44UIIC3QWBFRB4EUSFNLJBU6JLNSD/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/Q4ZQBAJVHIZMCZNTRPUW3ZKXRKLXRQZU/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20250411-0002/ security.netapp.com