Skip to content
RCE Advisory Advanced CVE-2022-21995

Windows Hyper-V Remote Code Execution Vulnerability (CVE-2022-21995)

A vulnerability in Windows Hyper-V allowed an attacker with low privileges inside a guest virtual machine to cross the guest's security boundary and run code on the Hyper-V host. Exploitation required the attacker to prepare the target environment to improve reliability.

Peter Hlavaty Follow

Originally disclosed on Microsoft

High 7.9 View original

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? In this case, a successful attack could be performed from a low privilege Hyper-V guest. The attacker could traverse the guest's security boundary to execute code on the Hyper-V host execution environment.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to prepare the target environment to improve exploit reliability.

Role: Windows Hyper-V

Role: Windows Hyper-V

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by rezer0dai with EatingFigs ENooPig. 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 flaw in how Hyper-V handles input from a guest, allowing the guest to escape its isolation boundary.

Impact

A low-privilege guest user could cross the security boundary and execute code on the Hyper-V host, though the attack complexity is high and reliability depends on preparing the environment.

What the attacker needed

Low-privilege access inside a Hyper-V guest; attacker prepares the target environment

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 tool for running virtual machines, where a guest system runs inside a host. This flaw let someone with only ordinary access inside a guest machine break out and run their own code on the host, which is the more trusted layer. Doing so reliably needed some preparation of the target environment first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.