cve.bz

CVE-2024-2494

6.2 mediumEPSS 0.4%Fix available

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

On this page
A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.

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.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. 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-01. 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-789 Memory Allocation with Excessive Size Value
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 8100020240409073027.489197e6
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:10.0.0-6.2.el9_4
  • 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-2494 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-2494?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-2494?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-2494 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 88100020240409073027.489197e6
Red Hat Enterprise Linux 90:10.0.0-6.2.el9_4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libvirt5.0.0-4+deb10u2DLA-3778-1
Debian12libvirt9.0.0-4+deb12u1DEBIAN-CVE-2024-2494
Debian13, 14libvirt10.2.0-1DEBIAN-CVE-2024-2494
Ubuntu20.04:LTSlibvirt6.0.0-0ubuntu8.19UBUNTU-CVE-2024-2494 USN-6734-1
Ubuntu22.04:LTSlibvirt8.0.0-1ubuntu7.10UBUNTU-CVE-2024-2494 USN-6734-1 USN-8652-1
Ubuntu24.04:LTSlibvirt10.0.0-2ubuntu8.1UBUNTU-CVE-2024-2494 USN-6734-2 USN-8652-1
Ubuntu26.04:LTSlibvirt12.0.0-1ubuntu5.3USN-8652-1
UbuntuPro:14.04:LTSlibvirt1.2.2-0ubuntu13.1.28+esm2UBUNTU-CVE-2024-2494 USN-8652-1
UbuntuPro:16.04:LTSlibvirt1.3.1-1ubuntu10.31+esm1UBUNTU-CVE-2024-2494 USN-8652-1
UbuntuPro:18.04:LTSlibvirt4.0.0-1ubuntu8.21+esm1UBUNTU-CVE-2024-2494 USN-8652-1
UbuntuPro:20.04:LTSlibvirt6.0.0-0ubuntu8.20+esm1USN-8652-1
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-5.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-23.1.module+el8.10.0+21659+98b2ad6aRHSA-2024:3253
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:3253
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-5.module+el8.9.0+18724+20190c23RHSA-2024:3253
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:3253
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-4.module+el8.9.0+19570+14a90618RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23RHSA-2024:3253
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.9.0+18724+20190c23RHSA-2024:3253
18 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morelibvirt8.0.0-150400.7.11.2SUSE-SU-2024:1100-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Server Applications 15 SP5libvirt7.1.0-150300.6.41.1SUSE-SU-2024:1078-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5libvirt9.0.0-150500.6.20.1SUSE-SU-2024:1099-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libvirt5.1.0-13.42.1SUSE-SU-2024:1083-1
openSUSELeap 15.5libvirt9.0.0-150500.6.20.1SUSE-SU-2024:1099-1
openSUSELeap Micro 5.3, Leap Micro 5.4libvirt8.0.0-150400.7.11.2SUSE-SU-2024:1100-1
openSUSETumbleweedlibvirt10.1.0-2.1openSUSE-SU-2024:13796-1
AlmaLinux9libvirt, libvirt-nss, libvirt-docs and 28 more10.0.0-6.2.el9_4.alma.1ALSA-2024:2560
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1590+a67ab969.rockyRLSA-2024:3253
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1451+358d0d76RLSA-2024:3253
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8libnbd0:1.6.0-5.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8libvirt0:8.0.0-23.1.module+el8.10.0+1779+84732956RLSA-2024:3253
Rocky Linux8libvirt-dbus0:1.3.0-2.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8libvirt-python0:8.0.0-2.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8nbdkit0:1.24.0-5.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8netcf0:0.2.8-12.module+el8.10.0+1590+a67ab969RLSA-2024:3253
Rocky Linux8perl-Sys-Virt0:8.0.0-1.module+el8.10.0+1590+a67ab969RLSA-2024:3253
7 more for Rocky Linux in the JSON.
Azure Linux2libvirt7.10.0-9AZL-37110
Azure Linux3libvirt10.0.0-4AZL-38665
Alpaquita23libvirtno fix listedBELL-CVE-2024-2494
Alpaquitastreamlibvirt10.2.0-r0BELL-CVE-2024-2494

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.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8virt-devel:rhel-8100020240409073027.489197e6Fixed 2024-05-22RHSA-2024:3253
Red Hat Enterprise Linux 8virt:rhel-8100020240409073027.489197e6Fixed 2024-05-22RHSA-2024:3253
Red Hat Enterprise Linux 9libvirt-0:10.0.0-6.2.el9_4Fixed 2024-04-30RHSA-2024:2560
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-2494.

References

Check your stackJSON