CVE-2021-22040
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-22040 is a use-after-free vulnerability discovered in the XHCI USB controller affecting VMware ESXi, Workstation, and Fusion products. The vulnerability was reported by Wei of Kunlun Lab during the 2021 Tianfu Cup Pwn Contest and was publicly disclosed on February 15, 2022. The vulnerability received a CVSS v3.1 base score of 8.4 (Important severity) (VMware Advisory).

Technical details

The vulnerability is classified as a use-after-free (CWE-416) issue specifically affecting the XHCI USB controller implementation in VMware's virtualization products. It has been assigned a CVSS v3.1 base score of 8.4 with the vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, indicating high impact on confidentiality, integrity, and availability (NVD).

Impact

If successfully exploited, this vulnerability allows a malicious actor with local administrative privileges on a virtual machine to execute code as the virtual machine's VMX process running on the host. This could lead to a complete compromise of the affected host system's confidentiality, integrity, and availability (VMware Advisory).

Mitigation and workarounds

VMware has released patches for affected products: ESXi70U3c-19193900 for ESXi 7.0 U3, ESXi70U2e-19290878 for ESXi 7.0 U2, ESXi70U1e-19324898 for ESXi 7.0 U1, ESXi670-202111101-SG for ESXi 6.7, ESXi650-202202401-SG for ESXi 6.5, Fusion 12.2.1, and Workstation 16.2.1. VMware strongly recommends applying these patches to remediate the vulnerability (VMware Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management