CVE-2024-4418
CVE-2024-4418 · Libvirt: stack use-after-free in virnetclientioeventloop()
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.2 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 8
- Versions
- ≥ 8100020240606142719.489197e6: Not affected (rpm)
No fix published
red hat enterprise linux 9
- Versions
- ≥ 0:10.0.0-6.6.el9_4: Not affected (rpm)
No fix published
red hat enterprise linux 9.2 extended update support
- Versions
- ≥ 0:9.0.0-10.7.el9_2: Not affected (rpm)
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
red hat enterprise linux 8 advanced virtualization
No fix published
libvirt Debian:13
- Affected ranges
- ECOSYSTEM: < 10.3.0-1
Update to 10.3.0-1
libvirt Debian:14
- Affected ranges
- ECOSYSTEM: < 10.3.0-1
Update to 10.3.0-1
libvirt Ubuntu:24.04:LTS
- Versions
- 9.6.0-1ubuntu1
- 9.6.0-1ubuntu2
- 10.0.0-1ubuntu1
- 10.0.0-2ubuntu1
- 10.0.0-2ubuntu5
- 10.0.0-2ubuntu7
- 10.0.0-2ubuntu8
- 10.0.0-2ubuntu8.1
- Affected ranges
- ECOSYSTEM: < 10.0.0-2ubuntu8.2
Update to 10.0.0-2ubuntu8.2
Original sources
- 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]/message/4IE44UIIC3QWBFRB4EUSFNLJBU6JLNSD/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/Q4ZQBAJVHIZMCZNTRPUW3ZKXRKLXRQZU/
- https://security.netapp.com/advisory/ntap-20250411-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2024-4418