6.2
Moyenne
CVE-2024-2494 Libvirt: negative g_new0 length can lead to unbounded memory allocation
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.
Détail CVSS 3.1
Vecteur CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitable avec un accès local à la machine, sans compte et sans action d’un utilisateur ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.
- Vecteur d’attaque
- Local
- Complexité
- Faible
- Privilèges requis
- Aucun
- Interaction
- Aucune
- Portée
- Inchangée
- Confidentialité
- Aucun
- Intégrité
- Aucun
- Disponibilité
- Élevé
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Red Hat Enterprise Linux 8 8100020240409073027.489197 | premières → < 8100020240409073027.489197e6 | 8100020240409073027.489197e6 |
| Red Hat Enterprise Linux 9 | Versions non publiées | |
| Red Hat Enterprise Linux 6 | Versions non publiées | |
| Red Hat Enterprise Linux 7 | Versions non publiées | |
| Red Hat Enterprise Linux 8 Advanced Virtualization | Versions non publiées |
Références
- RHSA-2024:2560 access.redhat.com
- RHSA-2024:3253 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2270115 bugzilla.redhat.com
- lists.libvirt.org lists.libvirt.org
Chronologie
- Publiée
- Dernière modification
Autres CVE de Red Hat Enterprise Linux 8
Les 1838 CVE de Red Hat Enterprise Linux 8 →
CVE-2026-123151
Gdb: gdb: stack buffer overflow in parse_tsv_definition via stale rs->buf tail
Non notée
CVE-2026-121997
Gdb: gdbserver: heap buffer overflow in cmd_qtdpsrc via qtdpsrc declared/actual length mismatch
8.1
Élevée
CVE-2026-121996
Gdb: gdbserver: heap disclosure and wild pointer in gdb_parse_agent_expr via untrusted agent-expression length
8.2
Élevée
CVE-2026-121995
Gdb: gdb: stack buffer overflow in parse_tracepoint_definition via stale rs->buf tail
7.5
Élevée