Skip to content

CVE-2024-8235 Libvirt: crash of virtinterfaced via virconnectlistinterfaces()

MediumCVSS 6.2 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known

Description

A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

Affected products

ProductAffected versionsFixed in
debian/libvirt(Debian:13) < 10.7.0-1 10.7.0-1
debian/libvirt(Debian:14) < 10.7.0-1 10.7.0-1
libvirt >= 10.4.0, < 10.7.0 10.7.0
redhat enterprise linux < 0:10.5.0-7.el9_5 0:10.5.0-7.el9_5
redhat enterprise linux All versions No fix listed
redhat rhel els = 6 No fix listed
redhat rhel els = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat advanced virtualization = 8 No fix listed
alpine/libvirt(Alpine:v3.20) >= 10.4.0, < 10.7.0-r0 10.7.0-r0
alpine/libvirt(Alpine:v3.21) >= 10.4.0, < 10.7.0-r0 10.7.0-r0
alpine/libvirt(Alpine:v3.22) >= 10.4.0, < 10.7.0-r0 10.7.0-r0
alpine/libvirt(Alpine:v3.23) >= 10.4.0, < 10.7.0-r0 10.7.0-r0
alpine/libvirt(Alpine:v3.24) >= 10.4.0, < 10.7.0-r0 10.7.0-r0
redhat libvirt >= 10.4.0, < 10.7.0 10.7.0

References