A flaw was found in the RPC library APIs of libvirt. The...
Moderate severity
Unreviewed
Published
Mar 21, 2024
to the GitHub Advisory Database
•
Updated Jun 10, 2024
Description
Published by the National Vulnerability Database
Mar 21, 2024
Published to the GitHub Advisory Database
Mar 21, 2024
Last updated
Jun 10, 2024
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.
References