KB5003209: Windows Server 2012 R2 Security Update (May 2021)
A guest virtual machine can break out of Hyper-V and execute code on the host operating system by sending a single crafted packet.
An attacker with any code execution inside a Hyper-V guest VM can send a crafted RNDIS packet over VMBus and either crash the host (taking down every VM on it) or execute code on the host kernel. Once on the host, the attacker controls every guest on the same hypervisor and any resources the host can reach.
Hyper-V is the Windows hypervisor — the layer that isolates guest VMs from the host and from each other. The virtual switch component (vmswitch.sys) routes network traffic between guests and the host. A failure to validate Object Identifier (OID) requests in vmswitch lets a guest force the host kernel to read from arbitrary memory addresses, which is enough to crash the host (DoS) or execute attacker-controlled code on it (full escape).
Probably yes if any of these apply:
Affected OS versions
A managed-hosting provider runs customer workloads on shared Hyper-V hosts. One tenant is compromised through phishing; the attacker installs the public PoC inside the customer's VM, crashes the host as a test, then escapes to host kernel context. They now control every other customer's VM on that physical box. This is the worst-case scenario for any virtualised environment and has been demonstrated possible on Azure infrastructure.
Manual download
For air-gapped servers or out-of-band deployment. Microsoft Update Catalog returns every OS-version variant of this update.
↗ Microsoft Update CatalogKB5003209Manual remediation steps
Prerequisites
Estimated time
20–40 minutes per server (download + install + reboot)
Reboot required
Yes — install the cumulative update and reboot the server before the fix is active.
Steps
1. Confirm the server is missing the patch
Get-HotFix -Id KB5003209 -ErrorAction SilentlyContinue
2. Install the update — pick one channel
Windows Update / WSUS (preferred):
UsoClient ScanInstallWait
# (or use your standard WSUS / SCCM / Intune deployment for KB5003209)
Manual download (offline / air-gapped):
3. Reboot
Restart-Computer -Force
Verification
Get-HotFix -Id KB5003209
[System.Environment]::OSVersion.Version
If Get-HotFix returns nothing for KB5003209, the install did not take — re-run from a different channel.
Rollback
wusa.exe /uninstall /kb:5003209 /quiet /norestart
# Reboot after uninstall
Removing a cumulative update also removes every fix it delivered — prefer rolling forward.
Notes
No tested PowerShell script for this entry yet. We’re prioritising automation based on user demand.