Vulnerability Details : CVE-2022-22942
Public exploit exists!
The vmwgfx driver contains a local privilege escalation vulnerability that allows unprivileged users to gain access to files opened by other processes on the system through a dangling 'file' pointer.
Vulnerability category: Gain privilege
Products affected by CVE-2022-22942
- cpe:2.3:o:vmware:photon_os:3.0:-:*:*:*:*:*:*
- cpe:2.3:o:vmware:photon_os:4.0:-:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-22942
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 30 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2022-22942
-
vmwgfx Driver File Descriptor Handling Priv Esc
Disclosure Date: 2022-01-28First seen: 2023-09-11exploit/linux/local/vmwgfx_fd_priv_escIf the vmwgfx driver fails to copy the 'fence_rep' object to userland, it tries to recover by deallocating the (already populated) file descriptor. This is wrong, as the fd gets released via put_unused_fd() which shouldn't be used, as the fd table slot was al
CVSS scores for CVE-2022-22942
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
VMware |
CWE ids for CVE-2022-22942
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-22942
-
https://github.com/vmware/photon/wiki/Security-Update-4.0-148
Security Update 4.0 148 · vmware/photon Wiki · GitHubRelease Notes
-
https://github.com/vmware/photon/wiki/Security-Update-3.0-356
Security Update 3.0 356 · vmware/photon Wiki · GitHubRelease Notes
-
https://www.openwall.com/lists/oss-security/2022/01/27/4
oss-security - CVE-2022-22942: Linux kernel: wrong file descriptor handling in the vmwgfx driverMailing List;Third Party Advisory
Jump to