Use After Free Affecting qemu-chardev-spice package, versions <5.2.0-106.4
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-SLES153-QEMUCHARDEVSPICE-2659546
- published 14 Apr 2022
- disclosed 3 Nov 2021
Introduced: 3 Nov 2021
CVE-2021-3748 Open this link in a new tabHow to fix?
Upgrade SLES:15.3 qemu-chardev-spice to version 5.2.0-106.4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-chardev-spice package and not the qemu-chardev-spice package as distributed by SLES.
See How to fix? for SLES:15.3 relevant fixed versions and status.
A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process.
References
- https://www.suse.com/security/cve/CVE-2021-3748.html
- https://bugzilla.suse.com/1189938
- https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6
- https://ubuntu.com/security/CVE-2021-3748
- https://bugzilla.redhat.com/show_bug.cgi?id=1998514
- https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html
- https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html
- https://security.netapp.com/advisory/ntap-20220425-0004/
- https://security.gentoo.org/glsa/202208-27
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html