Skip to content
Memory corruption Advisory Advanced CVE-2021-38672

Windows Hyper-V Remote Code Execution Vulnerability (CVE-2021-38672)

A vulnerability in Windows Hyper-V could allow a malicious guest virtual machine to read kernel memory on the host. This could be used for a VM escape from guest to host, but requires a memory allocation error to first occur on the guest VM.

Wei in Kunlun Lab Follow

Originally disclosed on Microsoft

Critical 8.0 View original

FAQ

How could an attacker exploit this vulnerability? For successful exploitation, this vulnerability could allow a malicious guest VM to read kernel memory in the host. To trigger this vulnerability the guest VM requires a memory allocation error to first occur on the guest VM. This bug could be used for a VM escape from guest to host.

Role: Windows Hyper-V

Role: Windows Hyper-V

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Wei in Kunlun Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory handling flaw in Hyper-V that fails to properly isolate guest memory from host kernel memory when an allocation error occurs.

Impact

A malicious guest VM could read host kernel memory, potentially leading to a VM escape from guest to host, but only if a memory allocation error occurs first.

What the attacker needed

Malicious guest VM; memory allocation error on guest

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 report has not been written yet. The Original tab links to the source.

Hyper-V is Microsoft's virtualisation software that lets you run virtual machines (VMs) on a computer. A guest VM is the virtual machine running inside the host. This bug could let a malicious guest VM peek at the host's memory, which is normally isolated, but only if a memory allocation error happens first.

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.

More by Wei in Kunlun Lab

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.