CVE-2022-21882
High · 7.0 CISA KEV · ransomwareCVSS
7.0
EPSS
59.2%
Published
Jan 11, 2022
CISA due date
Feb 18, 2022
Cloudanix analysis
An attacker who already gets a small foothold on a Windows computer can use this flaw to take full control of it.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
This is a local elevation-of-privilege vulnerability in the Windows Win32k kernel subsystem caused by memory-corruption behavior. An attacker who already has the ability to run code as a low-privileged user can trigger the flaw to execute code with elevated kernel-level privileges, enabling full compromise of confidentiality, integrity, and availability on the affected Windows system. The CVSS vector indicates local access, low attack complexity, low privileges required, no user interaction, and high impact across confidentiality, integrity, and availability. Note: the supplied affected-product metadata references gitlab-org/gitlab and commit bba387c3128c9725b46e3b9dee0ac3809ca89c40, but the vulnerability description and known family identify this as a Microsoft Windows Win32k privilege-escalation issue; asset owners should validate product mapping before relying on package metadata alone.
Why it matters to the business
Successful exploitation can turn an initial low-privilege foothold into full control of a Windows endpoint or server, allowing attackers to disable security tools, steal credentials, access sensitive data, install persistence, and move laterally. Because this vulnerability is listed in CISA KEV, has active in-the-wild exploitation, and had a federal remediation deadline of 2022-02-18, unpatched systems should be treated as high-priority exposure even though the flaw is not remotely exploitable by itself. The EPSS value indicates meaningful exploitation likelihood, increasing urgency for remaining legacy or unmanaged Windows assets.
How an attack unfolds
An attacker first obtains local code execution on a Windows system, commonly through phishing, malware delivery, stolen credentials, exploitation of a separate remote vulnerability, or abuse of legitimate remote-access tooling. Once running as a standard user or constrained service account, the attacker launches exploit code that interacts with Win32k graphical/window-management kernel functionality and triggers the memory-corruption condition. If successful, the exploit causes controlled kernel memory manipulation and results in execution with elevated privileges, typically SYSTEM or equivalent. The attacker can then dump credentials, tamper with endpoint defenses, install persistence, create privileged accounts, access protected files, and use the host as a staging point for lateral movement. Public reporting and KEV inclusion indicate this class of Win32k elevation-of-privilege vulnerability has been exploited in real attacks; detection should therefore focus on suspicious privilege escalation following an initial compromise rather than only on network perimeter activity.
How to fix it
Apply the Microsoft security update that fixes CVE-2022-21882 on all affected Windows systems and ensure hosts are current with cumulative Windows updates from January 2022 or later. Prioritize internet-facing Windows servers, VDI hosts, shared workstations, jump servers, systems used by administrators, and any host with evidence of malware or suspicious local privilege-escalation activity. If using dependency or source-code inventory that reports gitlab-org/gitlab as affected, validate whether that finding is a product-mapping error; the supplied fixed commit is bba387c3128c9725b46e3b9dee0ac3809ca89c40, but remediation for the described Win32k flaw is Windows OS patching, not application-level GitLab patching. Where immediate patching is not possible, reduce risk by restricting local logon rights, removing unnecessary interactive access, enforcing least privilege, hardening endpoint protection, blocking untrusted executable content, and isolating or closely monitoring unpatched systems.
How to confirm the fix worked
Confirm exposure by checking Windows patch compliance against the Microsoft security update for CVE-2022-21882 or by verifying that systems have cumulative updates from January 2022 or later that supersede the vulnerable Win32k components. Validate using enterprise patch-management reports, authenticated vulnerability scans, OS build and KB inventory, and file-version checks for Win32k-related binaries such as win32k.sys and win32kfull.sys where applicable. Confirm that no unmanaged, offline, VDI template, gold image, recovery image, or legacy system remains unpatched. If the finding originated from package metadata referencing gitlab-org/gitlab, verify the scanner evidence path and confirm whether the asset is actually Windows OS exposure or a mismapped source repository dependency.
Typical attack path
- Gain initial access to a Windows endpoint or server using phishing, malware, stolen credentials, remote service access, or another vulnerability.
- Execute code locally as a low-privileged user or service account.
- Run an exploit that triggers the Win32k memory-corruption condition.
- Obtain elevated privileges such as SYSTEM or administrator-level execution.
- Disable or evade security controls, access protected files, dump credentials, or load additional malware.
- Establish persistence and move laterally to other systems or higher-value services.
How to detect it
There are no universally reliable network indicators for this vulnerability because exploitation occurs locally inside the Windows kernel after code execution is already present. Investigate endpoint telemetry and Windows logs for signs of privilege escalation: a low-privileged process unexpectedly spawning elevated or SYSTEM-level child processes; new services, scheduled tasks, or drivers created shortly after an untrusted executable runs; endpoint protection being disabled; credential-access behavior such as LSASS handle access or memory dumping; and sudden use of administrative tools from accounts that were previously non-administrative. Useful log sources include EDR process and privilege telemetry, Sysmon logs, Windows Security event logs, PowerShell logs, service-control logs, scheduled-task logs, driver-load telemetry, application-control logs, and crash telemetry involving win32k components. Hunt around initial access events for rapid transitions from user-context execution to SYSTEM execution. Because CISA KEV confirms active exploitation, absence of a named exploit artifact should not be treated as absence of compromise; rely on behavioral correlation across process lineage, privilege changes, and post-exploitation activity.
- CVE-2022-21882
- Win32k Elevation of Privilege Vulnerability
- win32k.sys
- win32kfull.sys
- Event ID 4697
- Event ID 7045
- Event ID 4672
- Event ID 4688
- Event ID 4698
- Event ID 6
- lsass.exe
- procdump.exe
- comsvcs.dll
- MiniDump
- SeDebugPrivilege
What your security team should do
- Treat any unpatched affected Windows system as urgent because the vulnerability is in CISA KEV and exploitation has been observed in the wild.
- Patch or retire affected Windows systems immediately, prioritizing administrator workstations, servers, VDI infrastructure, and systems with broad network reach.
- Run authenticated vulnerability scans and patch-compliance queries to identify remaining systems missing the relevant January 2022 or later Windows cumulative updates.
- Hunt for suspicious local privilege-escalation behavior, especially low-privileged processes spawning SYSTEM shells, credential-dumping tools, or security-control tampering shortly after initial access events.
- Review EDR telemetry for exploitation chains involving malware execution followed by rapid privilege changes, new services, scheduled tasks, driver loads, or LSASS access.
- Restrict local administrator rights and interactive logon rights, especially on shared systems and servers.
- Validate scanner product mapping if the issue is reported against gitlab-org/gitlab; do not assume a GitLab application upgrade remediates the described Windows kernel vulnerability.
- For systems that cannot be patched, isolate them, increase monitoring, and enforce application control to reduce the ability to execute local exploit code.
The record
Win32k Elevation of Privilege Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787
- CVE-2026-112397 Pillow is a Python imaging library. CWE-787
- CVE-2026-112059 libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point… CWE-787
- CVE-2026-89088 A flaw was found in parted. CWE-787
- CVE-2026-89085 A flaw was found in parted. CWE-787
- CVE-2026-85746 MariaDB server is a community developed fork of MySQL server. CWE-787
- CVE-2026-107815 MariaDB server is a community developed fork of MySQL server. CWE-787
- CVE-2026-56851 The Nickname profile can panic with an out-of-bounds slice error when transforming… CWE-787