CVE Vulnerabilities

CVE-2021-22043

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Feb 16, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6 MEDIUM
AV:N/AC:M/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

VMware ESXi contains a TOCTOU (Time-of-check Time-of-use) vulnerability that exists in the way temporary files are handled. A malicious actor with access to settingsd, may exploit this issue to escalate their privileges by writing arbitrary files.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

Name Vendor Start Version End Version
Fusion Vmware * 4.4 (excluding)
Esxi Vmware 7.0-update_1 (including) 7.0-update_1 (including)
Esxi Vmware 7.0-update_2 (including) 7.0-update_2 (including)
Esxi Vmware 7.0-update_3 (including) 7.0-update_3 (including)

Potential Mitigations

References