CVE-2024-2494

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.
Configurations

No configuration.

History

14 Sep 2024, 00:15

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html', 'source': 'secalert@redhat.com'}
  • {'url': 'https://security.netapp.com/advisory/ntap-20240517-0009/', 'source': 'secalert@redhat.com'}

10 Jun 2024, 17:16

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240517-0009/ -

22 May 2024, 17:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2024:3253 -

30 Apr 2024, 20:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2024:2560 -

01 Apr 2024, 13:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html -
Summary
  • (es) Se encontró una falla en las API de la librería RPC de libvirt. El código de deserialización del servidor RPC asigna memoria para las matrices antes de que los puntos de entrada de la API de C realicen la verificación de longitud no negativa. Pasar una longitud negativa a la función g_new0 provoca un bloqueo debido a que la longitud negativa se trata como un número positivo enorme. Esta falla permite que un usuario local sin privilegios realice un ataque de denegación de servicio provocando la falla del demonio libvirt.

21 Mar 2024, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-21 14:15

Updated : 2024-09-14 00:15


NVD link : CVE-2024-2494

Mitre link : CVE-2024-2494

CVE.ORG link : CVE-2024-2494


JSON object : View

Products Affected

No product.

CWE
CWE-789

Memory Allocation with Excessive Size Value