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.