(CVE-2021-3409) QEMU Heap Overflow in SDHCI Component
QEMU versions below 5.2.50 contain a heap overflow in the emulated SDHCI (Secure Digital Host Controller) component. If exploited, this could lead to disclosure of sensitive information, modification of data, or denial of service.
starlabs.sg
Published on starlabs.sg
QEMU version 5.2.50 is susceptible to vulnerabilities which, when successfully exploited, could lead to the disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing or incorrect bounds check when handling SDHCI register or data transfers, allowing writes past the end of a heap buffer.
Impact
An attacker able to drive the emulated SDHCI device could cause disclosure of sensitive information, modification of data, or a denial of service; the text does not describe a working exploit.
What the attacker needed
Guest can access emulated SDHCI device
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
QEMU is software that pretends to be a whole computer, so you can run another operating system inside your own. It also pretends to be hardware devices, including the controller for SD memory cards. A heap overflow means the program writes more data into a memory area than it was sized for, which can corrupt nearby data or crash the program.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.