Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2024-2494: libvirt: negative g_new0 length can lead to unbounded memory allocation (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2024-2494: libvirt: negative g_new0 length can lead to unbounded memory allocation (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:N/I:N/A:C)
Published
03/21/2024
Created
05/01/2024
Added
05/01/2024
Modified
09/03/2024

Description

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.

Solution(s)

  • redhat-upgrade-hivex
  • redhat-upgrade-hivex-debuginfo
  • redhat-upgrade-hivex-debugsource
  • redhat-upgrade-hivex-devel
  • redhat-upgrade-libguestfs
  • redhat-upgrade-libguestfs-appliance
  • redhat-upgrade-libguestfs-bash-completion
  • redhat-upgrade-libguestfs-debuginfo
  • redhat-upgrade-libguestfs-debugsource
  • redhat-upgrade-libguestfs-devel
  • redhat-upgrade-libguestfs-gfs2
  • redhat-upgrade-libguestfs-gobject
  • redhat-upgrade-libguestfs-gobject-debuginfo
  • redhat-upgrade-libguestfs-gobject-devel
  • redhat-upgrade-libguestfs-inspect-icons
  • redhat-upgrade-libguestfs-java
  • redhat-upgrade-libguestfs-java-debuginfo
  • redhat-upgrade-libguestfs-java-devel
  • redhat-upgrade-libguestfs-javadoc
  • redhat-upgrade-libguestfs-man-pages-ja
  • redhat-upgrade-libguestfs-man-pages-uk
  • redhat-upgrade-libguestfs-rescue
  • redhat-upgrade-libguestfs-rsync
  • redhat-upgrade-libguestfs-tools
  • redhat-upgrade-libguestfs-tools-c
  • redhat-upgrade-libguestfs-tools-c-debuginfo
  • redhat-upgrade-libguestfs-winsupport
  • redhat-upgrade-libguestfs-xfs
  • redhat-upgrade-libiscsi
  • redhat-upgrade-libiscsi-debuginfo
  • redhat-upgrade-libiscsi-debugsource
  • redhat-upgrade-libiscsi-devel
  • redhat-upgrade-libiscsi-utils
  • redhat-upgrade-libiscsi-utils-debuginfo
  • redhat-upgrade-libnbd
  • redhat-upgrade-libnbd-bash-completion
  • redhat-upgrade-libnbd-debuginfo
  • redhat-upgrade-libnbd-debugsource
  • redhat-upgrade-libnbd-devel
  • redhat-upgrade-libtpms
  • redhat-upgrade-libtpms-debuginfo
  • redhat-upgrade-libtpms-debugsource
  • redhat-upgrade-libtpms-devel
  • redhat-upgrade-libvirt
  • redhat-upgrade-libvirt-client
  • redhat-upgrade-libvirt-client-debuginfo
  • redhat-upgrade-libvirt-client-qemu
  • redhat-upgrade-libvirt-daemon
  • redhat-upgrade-libvirt-daemon-common
  • redhat-upgrade-libvirt-daemon-common-debuginfo
  • redhat-upgrade-libvirt-daemon-config-network
  • redhat-upgrade-libvirt-daemon-config-nwfilter
  • redhat-upgrade-libvirt-daemon-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-interface
  • redhat-upgrade-libvirt-daemon-driver-interface-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-network
  • redhat-upgrade-libvirt-daemon-driver-network-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-nodedev
  • redhat-upgrade-libvirt-daemon-driver-nodedev-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-nwfilter
  • redhat-upgrade-libvirt-daemon-driver-nwfilter-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-qemu
  • redhat-upgrade-libvirt-daemon-driver-qemu-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-secret
  • redhat-upgrade-libvirt-daemon-driver-secret-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage
  • redhat-upgrade-libvirt-daemon-driver-storage-core
  • redhat-upgrade-libvirt-daemon-driver-storage-core-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-disk
  • redhat-upgrade-libvirt-daemon-driver-storage-disk-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-gluster
  • redhat-upgrade-libvirt-daemon-driver-storage-gluster-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-iscsi
  • redhat-upgrade-libvirt-daemon-driver-storage-iscsi-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-iscsi-direct
  • redhat-upgrade-libvirt-daemon-driver-storage-iscsi-direct-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-logical
  • redhat-upgrade-libvirt-daemon-driver-storage-logical-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-mpath
  • redhat-upgrade-libvirt-daemon-driver-storage-mpath-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-rbd
  • redhat-upgrade-libvirt-daemon-driver-storage-rbd-debuginfo
  • redhat-upgrade-libvirt-daemon-driver-storage-scsi
  • redhat-upgrade-libvirt-daemon-driver-storage-scsi-debuginfo
  • redhat-upgrade-libvirt-daemon-kvm
  • redhat-upgrade-libvirt-daemon-lock
  • redhat-upgrade-libvirt-daemon-lock-debuginfo
  • redhat-upgrade-libvirt-daemon-log
  • redhat-upgrade-libvirt-daemon-log-debuginfo
  • redhat-upgrade-libvirt-daemon-plugin-lockd
  • redhat-upgrade-libvirt-daemon-plugin-lockd-debuginfo
  • redhat-upgrade-libvirt-daemon-plugin-sanlock
  • redhat-upgrade-libvirt-daemon-plugin-sanlock-debuginfo
  • redhat-upgrade-libvirt-daemon-proxy
  • redhat-upgrade-libvirt-daemon-proxy-debuginfo
  • redhat-upgrade-libvirt-dbus
  • redhat-upgrade-libvirt-dbus-debuginfo
  • redhat-upgrade-libvirt-dbus-debugsource
  • redhat-upgrade-libvirt-debuginfo
  • redhat-upgrade-libvirt-debugsource
  • redhat-upgrade-libvirt-devel
  • redhat-upgrade-libvirt-docs
  • redhat-upgrade-libvirt-libs
  • redhat-upgrade-libvirt-libs-debuginfo
  • redhat-upgrade-libvirt-lock-sanlock
  • redhat-upgrade-libvirt-lock-sanlock-debuginfo
  • redhat-upgrade-libvirt-nss
  • redhat-upgrade-libvirt-nss-debuginfo
  • redhat-upgrade-libvirt-python-debugsource
  • redhat-upgrade-libvirt-wireshark
  • redhat-upgrade-libvirt-wireshark-debuginfo
  • redhat-upgrade-lua-guestfs
  • redhat-upgrade-lua-guestfs-debuginfo
  • redhat-upgrade-nbdfuse
  • redhat-upgrade-nbdfuse-debuginfo
  • redhat-upgrade-nbdkit
  • redhat-upgrade-nbdkit-bash-completion
  • redhat-upgrade-nbdkit-basic-filters
  • redhat-upgrade-nbdkit-basic-filters-debuginfo
  • redhat-upgrade-nbdkit-basic-plugins
  • redhat-upgrade-nbdkit-basic-plugins-debuginfo
  • redhat-upgrade-nbdkit-curl-plugin
  • redhat-upgrade-nbdkit-curl-plugin-debuginfo
  • redhat-upgrade-nbdkit-debuginfo
  • redhat-upgrade-nbdkit-debugsource
  • redhat-upgrade-nbdkit-devel
  • redhat-upgrade-nbdkit-example-plugins
  • redhat-upgrade-nbdkit-example-plugins-debuginfo
  • redhat-upgrade-nbdkit-gzip-filter
  • redhat-upgrade-nbdkit-gzip-filter-debuginfo
  • redhat-upgrade-nbdkit-gzip-plugin
  • redhat-upgrade-nbdkit-gzip-plugin-debuginfo
  • redhat-upgrade-nbdkit-linuxdisk-plugin
  • redhat-upgrade-nbdkit-linuxdisk-plugin-debuginfo
  • redhat-upgrade-nbdkit-nbd-plugin
  • redhat-upgrade-nbdkit-nbd-plugin-debuginfo
  • redhat-upgrade-nbdkit-python-plugin
  • redhat-upgrade-nbdkit-python-plugin-debuginfo
  • redhat-upgrade-nbdkit-server
  • redhat-upgrade-nbdkit-server-debuginfo
  • redhat-upgrade-nbdkit-ssh-plugin
  • redhat-upgrade-nbdkit-ssh-plugin-debuginfo
  • redhat-upgrade-nbdkit-tar-filter
  • redhat-upgrade-nbdkit-tar-filter-debuginfo
  • redhat-upgrade-nbdkit-tar-plugin
  • redhat-upgrade-nbdkit-tar-plugin-debuginfo
  • redhat-upgrade-nbdkit-tmpdisk-plugin
  • redhat-upgrade-nbdkit-tmpdisk-plugin-debuginfo
  • redhat-upgrade-nbdkit-vddk-plugin
  • redhat-upgrade-nbdkit-vddk-plugin-debuginfo
  • redhat-upgrade-nbdkit-xz-filter
  • redhat-upgrade-nbdkit-xz-filter-debuginfo
  • redhat-upgrade-netcf
  • redhat-upgrade-netcf-debuginfo
  • redhat-upgrade-netcf-debugsource
  • redhat-upgrade-netcf-devel
  • redhat-upgrade-netcf-libs
  • redhat-upgrade-netcf-libs-debuginfo
  • redhat-upgrade-ocaml-hivex
  • redhat-upgrade-ocaml-hivex-debuginfo
  • redhat-upgrade-ocaml-hivex-devel
  • redhat-upgrade-ocaml-libguestfs
  • redhat-upgrade-ocaml-libguestfs-debuginfo
  • redhat-upgrade-ocaml-libguestfs-devel
  • redhat-upgrade-ocaml-libnbd
  • redhat-upgrade-ocaml-libnbd-debuginfo
  • redhat-upgrade-ocaml-libnbd-devel
  • redhat-upgrade-perl-hivex
  • redhat-upgrade-perl-hivex-debuginfo
  • redhat-upgrade-perl-sys-guestfs
  • redhat-upgrade-perl-sys-guestfs-debuginfo
  • redhat-upgrade-perl-sys-virt
  • redhat-upgrade-perl-sys-virt-debuginfo
  • redhat-upgrade-perl-sys-virt-debugsource
  • redhat-upgrade-python3-hivex
  • redhat-upgrade-python3-hivex-debuginfo
  • redhat-upgrade-python3-libguestfs
  • redhat-upgrade-python3-libguestfs-debuginfo
  • redhat-upgrade-python3-libnbd
  • redhat-upgrade-python3-libnbd-debuginfo
  • redhat-upgrade-python3-libvirt
  • redhat-upgrade-python3-libvirt-debuginfo
  • redhat-upgrade-qemu-guest-agent
  • redhat-upgrade-qemu-guest-agent-debuginfo
  • redhat-upgrade-qemu-img
  • redhat-upgrade-qemu-img-debuginfo
  • redhat-upgrade-qemu-kvm
  • redhat-upgrade-qemu-kvm-block-curl
  • redhat-upgrade-qemu-kvm-block-curl-debuginfo
  • redhat-upgrade-qemu-kvm-block-gluster
  • redhat-upgrade-qemu-kvm-block-gluster-debuginfo
  • redhat-upgrade-qemu-kvm-block-iscsi
  • redhat-upgrade-qemu-kvm-block-iscsi-debuginfo
  • redhat-upgrade-qemu-kvm-block-rbd
  • redhat-upgrade-qemu-kvm-block-rbd-debuginfo
  • redhat-upgrade-qemu-kvm-block-ssh
  • redhat-upgrade-qemu-kvm-block-ssh-debuginfo
  • redhat-upgrade-qemu-kvm-common
  • redhat-upgrade-qemu-kvm-common-debuginfo
  • redhat-upgrade-qemu-kvm-core
  • redhat-upgrade-qemu-kvm-core-debuginfo
  • redhat-upgrade-qemu-kvm-debuginfo
  • redhat-upgrade-qemu-kvm-debugsource
  • redhat-upgrade-qemu-kvm-docs
  • redhat-upgrade-qemu-kvm-hw-usbredir
  • redhat-upgrade-qemu-kvm-hw-usbredir-debuginfo
  • redhat-upgrade-qemu-kvm-tests
  • redhat-upgrade-qemu-kvm-ui-opengl
  • redhat-upgrade-qemu-kvm-ui-opengl-debuginfo
  • redhat-upgrade-qemu-kvm-ui-spice
  • redhat-upgrade-qemu-kvm-ui-spice-debuginfo
  • redhat-upgrade-ruby-hivex
  • redhat-upgrade-ruby-hivex-debuginfo
  • redhat-upgrade-ruby-libguestfs
  • redhat-upgrade-ruby-libguestfs-debuginfo
  • redhat-upgrade-seabios
  • redhat-upgrade-seabios-bin
  • redhat-upgrade-seavgabios-bin
  • redhat-upgrade-sgabios
  • redhat-upgrade-sgabios-bin
  • redhat-upgrade-slof
  • redhat-upgrade-supermin
  • redhat-upgrade-supermin-debuginfo
  • redhat-upgrade-supermin-debugsource
  • redhat-upgrade-supermin-devel
  • redhat-upgrade-swtpm
  • redhat-upgrade-swtpm-debuginfo
  • redhat-upgrade-swtpm-debugsource
  • redhat-upgrade-swtpm-devel
  • redhat-upgrade-swtpm-libs
  • redhat-upgrade-swtpm-libs-debuginfo
  • redhat-upgrade-swtpm-tools
  • redhat-upgrade-swtpm-tools-debuginfo
  • redhat-upgrade-swtpm-tools-pkcs11
  • redhat-upgrade-virt-dib
  • redhat-upgrade-virt-dib-debuginfo
  • redhat-upgrade-virt-v2v
  • redhat-upgrade-virt-v2v-bash-completion
  • redhat-upgrade-virt-v2v-debuginfo
  • redhat-upgrade-virt-v2v-debugsource
  • redhat-upgrade-virt-v2v-man-pages-ja
  • redhat-upgrade-virt-v2v-man-pages-uk

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;