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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2024-8235 vendor-advisory
- RHSA-2024:9128 vendor-advisory
- access.redhat.com vdb-entry vendor-advisory
- RHBZ#2308680 issue-tracking vendor-advisory
- lists.libvirt.org patch third-party-advisory
- security.netapp.com
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking