Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-2496: NULL pointer dereference in udevConnectListAllInterfaces() CVE-2024-2494: 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. CVE-2024-1441: An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash.
Fixed packages 32
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | libvirt | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-admin | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-bash-completion | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-client | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-config-network | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-config-nwfilter | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-interface | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-lxc | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-network | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-nodedev | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-nwfilter | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-qemu | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-secret | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-core | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-disk | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-gluster | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-iscsi | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-logical | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-mpath | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-rbd | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-driver-storage-scsi | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-kvm | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-daemon-lxc | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-debuginfo | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-devel | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-docs | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-libs | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-lock-sanlock | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-login-shell | 0:4.5.0-36.amzn2.3.1 |
| Amazon Linux · 2 | libvirt-nss | 0:4.5.0-36.amzn2.3.1 |
Vulnerabilities 3
-
Medium 6.2
Libvirt: negative g_new0 length can lead to unbounded memory allocation
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 cra…
-
Medium 5.5CVE-2024-1441 Public exploit
Libvirt: off-by-one error in udevlistinterfacesbystatus()
An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an u…
-
Medium 5.0
Libvirt: null pointer dereference in udevconnectlistallinterfaces()
A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt. This issue can occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API. This flaw c…