Use After Free Affecting libvirt-daemon-driver-nwfilter package, versions <0:10.0.0-6.6.el9_4.alma.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALMALINUX9-LIBVIRTDAEMONDRIVERNWFILTER-7568928
- published 25 Jul 2024
- disclosed 23 Jul 2024
Introduced: 23 Jul 2024
CVE-2024-4418 Open this link in a new tabHow to fix?
Upgrade AlmaLinux:9
libvirt-daemon-driver-nwfilter
to version 0:10.0.0-6.6.el9_4.alma.1 or higher.
This issue was patched in ALSA-2024:4757
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libvirt-daemon-driver-nwfilter
package and not the libvirt-daemon-driver-nwfilter
package as distributed by AlmaLinux
.
See How to fix?
for AlmaLinux:9
relevant fixed versions and status.
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.
References
- https://errata.almalinux.org/8/ALSA-2024-4351.html
- https://errata.almalinux.org/9/ALSA-2024-4757.html
- https://access.redhat.com/security/cve/CVE-2024-4418
- https://access.redhat.com/errata/RHSA-2024:4351
- https://access.redhat.com/errata/RHSA-2024:4757
- https://access.redhat.com/errata/RHSA-2024:4432
- https://bugzilla.redhat.com/show_bug.cgi?id=2278616
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4IE44UIIC3QWBFRB4EUSFNLJBU6JLNSD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q4ZQBAJVHIZMCZNTRPUW3ZKXRKLXRQZU/