Libvirt: negative g_new0 length can lead to unbounded memory allocation
Résumé
Libvirt: negative g_new0 length can lead to unbounded memory allocation
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2024-2494 libvirt Corrigé dans: 7.0.0-3+deb11u3
- Ubuntu UBUNTU-CVE-2024-2494 libvirt Corrigé dans: 1.2.2-0ubuntu13.1.28+esm2
Références
- advisory access.redhat.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- package gitlab.com
- report bugzilla.redhat.com
- web access.redhat.com
- web lists.debian.org
- web lists.libvirt.org