cve.bz

CVE-2024-4418 Return of Stack Variable Address

6.2 mediumEPSS 0.5%Fix available

Medium (6.2). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.2 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-562 Return of Stack Variable Address
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020240606142719.489197e6
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:10.0.0-6.6.el9_4
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support: fixed in 0:9.0.0-10.7.el9_2
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-4418 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-4418?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-4418?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-4418 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020240606142719.489197e6
Red Hat Enterprise Linux 90:10.0.0-6.6.el9_4
Red Hat Enterprise Linux 9.2 Extended Update Support0:9.0.0-10.7.el9_2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14libvirt10.3.0-1DEBIAN-CVE-2024-4418
Ubuntu24.04:LTSlibvirt10.0.0-2ubuntu8.2UBUNTU-CVE-2024-4418 USN-6763-1
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-5.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-23.2.module+el8.10.0+21972+d7867348RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:8.0.0-2.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-5.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamqemu-img, qemu-kvm, qemu-kvm-core and 25 more15:6.2.0-49.module+el8.10.0+21533+3df3c4b6RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-4.module+el8.9.0+19570+14a90618RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23RHSA-2024:4351
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.9.0+18724+20190c23RHSA-2024:4351
20 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Server Applications 15 SP6libvirt10.0.0-150600.8.3.1SUSE-SU-2024:1962-1
SUSELinux Micro 6.0libvirt10.0.0-3.1SUSE-SU-2025:20012-1
openSUSELeap 15.6libvirt10.0.0-150600.8.3.1SUSE-SU-2024:1962-1
openSUSETumbleweedlibvirt10.3.0-2.1openSUSE-SU-2024:13948-1
AlmaLinux8SLOF20210217-2.module_el8.10.0+3768+dfd76e10ALSA-2024:4351
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+2880+7d9e3703ALSA-2024:4351
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+3161+a07c0ea5ALSA-2024:4351
AlmaLinux8libguestfs-winsupport8.10-1.module_el8.10.0+3768+dfd76e10ALSA-2024:4351
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2024:4351
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+3161+a07c0ea5ALSA-2024:4351
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 3 more1.6.0-5.module_el8.6.0+3161+a07c0ea5ALSA-2024:4351
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 4 more1.6.0-5.module_el8.6.0+2880+7d9e3703ALSA-2024:4351
AlmaLinux8libtpms, libtpms-devel0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3ALSA-2024:4351
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 25 more8.0.0-23.2.module_el8.10.0+3867+f3f9981aALSA-2024:4351
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703ALSA-2024:4351
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+3161+a07c0ea5ALSA-2024:4351
14 more for AlmaLinux in the JSON.
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1590+a67ab969.rockyRLSA-2024:4351
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1451+358d0d76RLSA-2024:4351
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8libnbd0:1.6.0-5.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8libvirt0:8.0.0-23.2.module+el8.10.0+1835+43f01cbbRLSA-2024:4351
Rocky Linux8libvirt-dbus0:1.3.0-2.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8libvirt-python0:8.0.0-2.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8nbdkit0:1.24.0-5.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8netcf0:0.2.8-12.module+el8.10.0+1590+a67ab969RLSA-2024:4351
Rocky Linux8perl-Sys-Virt0:8.0.0-1.module+el8.10.0+1590+a67ab969RLSA-2024:4351
6 more for Rocky Linux in the JSON.
Azure Linux2libvirt7.10.0-10AZL-40447
Azure Linux3libvirt10.0.0-5AZL-40396
Alpaquitastreamlibvirt10.4.0-r0BELL-CVE-2024-4418

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8virt-devel:rhel-8100020240606142719.489197e6Fixed 2024-07-08RHSA-2024:4351
Red Hat Enterprise Linux 8virt:rhel-8100020240606142719.489197e6Fixed 2024-07-08RHSA-2024:4351
Red Hat Enterprise Linux 9libvirt-0:10.0.0-6.6.el9_4Fixed 2024-07-23RHSA-2024:4757
Red Hat Enterprise Linux 9.2 Extended Update Supportlibvirt-0:9.0.0-10.7.el9_2Fixed 2024-07-09RHSA-2024:4432
Red Hat Enterprise Linux 6libvirtOut of support scope
Red Hat Enterprise Linux 7libvirtOut of support scope
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/libvirtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-4418.

References

Check your stackJSON