CVE-2024-8235 json
Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
published 2024-08-30 2 y ago modified 2026-11-05 3 d ago also EUVD-2024-49040
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 9 0:10.5.0-7.el9_5
- libvirt Debian 14, Debian 13 10.7.0-1
debian advisories DEBIAN-CVE-2024-8235
- libvirt RHEL 9 10.5.0-7.el9_5
- libvirt-nss RHEL 9 10.5.0-7.el9_5
- libvirt-libs RHEL 9 10.5.0-7.el9_5
- libvirt-client RHEL 9 10.5.0-7.el9_5
- libvirt-daemon RHEL 9 10.5.0-7.el9_5
- libvirt-ssh-proxy RHEL 9 10.5.0-7.el9_5
- libvirt-daemon-kvm RHEL 9 10.5.0-7.el9_5
- libvirt-daemon-log RHEL 9 10.5.0-7.el9_5
red hat advisories RHSA-2024:9128
- libvirt openSUSE Tumbleweed 10.7.0-1.1
opensuse advisories openSUSE-SU-2024:14315-1
- libvirt AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-nss AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-libs AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-client AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-daemon AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-ssh-proxy AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-daemon-kvm AlmaLinux 9 10.5.0-7.el9_5.alma.1
- libvirt-daemon-log AlmaLinux 9 10.5.0-7.el9_5.alma.1
almalinux advisories ALSA-2024:9128
- libvirt Rocky Linux 9 10.5.0-7.4.el9_5
rocky linux advisories RLSA-2024:9128
- libvirt Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 10.7.0-r0
alpine advisories ALPINE-CVE-2024-8235
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-8235 updated cvss 6.2
libvirt: Crash of virtinterfaced via virConnectListInterfaces()
-
Red Hat Enterprise Linux 10 libvirtaffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 9) libvirt-daemon-plugin-sanlock 10.5.0-7.el9_5 Red Hat Enterprise Linux AppStream (v. 9) libvirt 10.5.0-7.el9_5, libvirt-nss 10.5.0-7.el9_5, libvirt-libs 10.5.0-7.el9_5, libvirt-client 10.5.0-7.el9_5, libvirt-daemon 10.5.0-7.el9_5, libvirt-ssh-proxy 10.5.0-7.el9_5, +23 morefixed: vendor fix RHSA-2024:9128
-
Red Hat Enterprise Linux 6 libvirt, libvirt-client, libvirt-python, libvirt-lock-sanlock Red Hat Enterprise Linux 7 libvirt, libvirt-nss, libvirt-libs, libvirt-admin, libvirt-client, libvirt-daemon, +24 more Red Hat Enterprise Linux 8 libvirt, libvirt-nss, libvirt-libs, libvirt-admin, libvirt-client, libvirt-daemon, +22 more Red Hat Enterprise Linux 8 Advanced Virtualization libvirt, libvirt-nss, libvirt-libs, libvirt-admin, libvirt-client, libvirt-daemon, +22 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 10
- 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
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
lists.libvirt.org
/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/
patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2024:9128
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-8235
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2308680
issue-tracking, vendor-advisory
- security.netapp.com /advisory/ntap-20240920-0006/
Sources
- CVE List CVE-2024-8235
- NVD CVE-2024-8235
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.