Uncontrolled Memory Allocation Affecting qemu-kvm-block-iscsi package, versions <15:6.2.0-49.module+el8.10.0+90330+d0258130
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-QEMUKVMBLOCKISCSI-7174929
- published 2 Jun 2024
- disclosed 21 Mar 2024
Introduced: 21 Mar 2024
CVE-2024-2494 Open this link in a new tabHow to fix?
Upgrade Oracle:8 qemu-kvm-block-iscsi to version 15:6.2.0-49.module+el8.10.0+90330+d0258130 or higher.
This issue was patched in ELSA-2024-3253.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-kvm-block-iscsi package and not the qemu-kvm-block-iscsi package as distributed by Oracle.
See How to fix? for Oracle:8 relevant fixed versions and status.
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
- https://linux.oracle.com/cve/CVE-2024-2494.html
- https://linux.oracle.com/errata/ELSA-2024-2560.html
- https://access.redhat.com/security/cve/CVE-2024-2494
- https://bugzilla.redhat.com/show_bug.cgi?id=2270115
- https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/BKRQXPLPC6B7FLHJXSBQYW7HNDEBW6RJ/
- https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html
- https://access.redhat.com/errata/RHSA-2024:2560
- https://access.redhat.com/errata/RHSA-2024:3253
- https://security.netapp.com/advisory/ntap-20240517-0009/