6.2Medium

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

libvirt; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 6 Published: (2 years ago)

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.

Weakness (CWE): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
advanced virtualization 8 —
enterprise linux 9 —
redhat libvirt 10.4.0 – < 10.7.0
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 6 —
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization —
Red Hat Red Hat Enterprise Linux 9 all versions
— libvirt 10.4.0 – < 10.7.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:* ≥ 10.4.0 < 10.7.0