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://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

Details

Source: MITRE

Published: 2022-03-23

Updated: 2022-10-26

Type: CWE-416

Risk Information

CVSS v2

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3

Base Score: 8.8

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

Impact Score: 6

Exploitability Score: 2

Severity: HIGH