First published: Mon Mar 18 2024(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/libvirt | <6.0.0-0ubuntu8.19 | 6.0.0-0ubuntu8.19 |
ubuntu/libvirt | <8.0.0-1ubuntu7.10 | 8.0.0-1ubuntu7.10 |
ubuntu/libvirt | <9.6.0-1ubuntu1.1 | 9.6.0-1ubuntu1.1 |
ubuntu/libvirt | <10.0.0-2ubuntu8.1 | 10.0.0-2ubuntu8.1 |
debian/libvirt | <=5.0.0-4+deb10u1<=7.0.0-3+deb11u2<=9.0.0-4 | 5.0.0-4+deb10u2 10.2.0-1 10.3.0-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-2494 has been classified as a high severity vulnerability due to the potential for application crashes.
To mitigate CVE-2024-2494, upgrade to the patched versions of libvirt as specified in the vulnerability documentation.
CVE-2024-2494 affects specific versions of libvirt on Ubuntu and Debian systems.
CVE-2024-2494 is caused by improper memory allocation in the RPC server's deserialization code.
Exploitation of CVE-2024-2494 is feasible in scenarios where malicious input can be passed to the affected libvirt APIs.