Insufficient Input Validation in Xen XENMEM_exchange (XSA-212)
CVE-2017-7228 (XSA-212) is a vulnerability in the Xen hypervisor affecting versions 4.4.x through 4.8.x. The vulnerability arises from an insufficient check introduced by the earlier XSA-29 fix on the XENMEM_exchange hypercall input. This flaw allows a guest to provide crafted input/output arrays, enabling the hypervisor to perform memory accesses outside the intended guest-provided buffers, potentially leading to memory corruption or information disclosure.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A malicious guest can exploit this vulnerability to cause the Xen hypervisor to access memory outside of the guest-provided arrays. This can result in hypervisor memory corruption, information disclosure, or potentially escalation of privileges, depending on the memory accessed.
If you can’t patch tonight, do this now.
If patching is not immediately possible, restrict access to the XENMEM_exchange hypercall from untrusted guests or limit the ability to create or run untrusted guests on the host. Consider using hardware virtualization features to further isolate guests.
Patch, then assume compromise.
Apply the patches provided by the Xen Project for all affected versions (4.4.x through 4.8.x). The patches introduce proper validation of the XENMEM_exchange input to ensure memory accesses remain within the bounds of the guest-provided arrays.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.