CVE-2024-2494

Publication date 20 March 2024

Last updated 24 July 2024


Ubuntu priority

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.

Status

Package Ubuntu Release Status
libvirt 24.10 oracular
Fixed 10.0.0-2ubuntu8.1
24.04 LTS noble
Fixed 10.0.0-2ubuntu8.1
23.10 mantic
Fixed 9.6.0-1ubuntu1.1
22.04 LTS jammy
Fixed 8.0.0-1ubuntu7.10
20.04 LTS focal
Fixed 6.0.0-0ubuntu8.19
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libvirt

References

Related Ubuntu Security Notices (USN)

Other references