CVE-2021-3748

high

Description

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://ubuntu.com/security/CVE-2021-3748

https://security.netapp.com/advisory/ntap-20220425-0004/

https://security.gentoo.org/glsa/202208-27

https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html

https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html

https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html

https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6

https://bugzilla.redhat.com/show_bug.cgi?id=1998514

Details

Source: Mitre, NVD

Published: 2022-03-23

Updated: 2023-01-03

Risk Information

CVSS v2

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Severity: High