A heap-based buffer overflow was found in QEMU through 5.0.0 in the SDHCI device emulation support. It could occur while doing a multi block SDMA transfer via the sdhci_sdma_transfer_multi_blocks() routine in hw/sd/sdhci.c. A guest user or process could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code with privileges of the QEMU process on the host.
http://www.openwall.com/lists/oss-security/2021/03/09/1
https://bugzilla.redhat.com/show_bug.cgi?id=1862167
https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html
https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg01175.html
Source: MITRE
Published: 2021-01-30
Updated: 2021-04-11
Type: CWE-787
Base Score: 4.6
Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P
Impact Score: 6.4
Exploitability Score: 3.9
Severity: MEDIUM
Base Score: 6.3
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Impact Score: 3.7
Exploitability Score: 2
Severity: MEDIUM