Out-of-bounds Write Affecting qemu-project/qemu package, versions [,5.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (24th percentile)

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 IDSNYK-UNMANAGED-QEMUPROJECTQEMU-3006989
  • published26 Jan 2022
  • disclosed30 Jan 2021
  • creditUnknown

Introduced: 30 Jan 2021

CVE-2020-17380  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade qemu-project/qemu to version 5.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

CVSS Scores

version 3.1