Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-42287

HIGH 7.5ExploitedEPSS 100%

Active Directory Domain Services Elevation of Privilege Vulnerability

Mitigation

  • Upgrade Windows Server 2008 R2 Service Pack 1 to 6.1.7601.25769 or later.
  • Upgrade Windows Server 2008 R2 Service Pack 1 (Server Core installation) to 6.1.7601.25769 or later.
  • Upgrade Windows Server 2008 Service Pack 2 to 6.0.6003.21282 or later.
  • Upgrade Windows Server 2008 Service Pack 2 (Server Core installation) to 6.0.6003.21282 or later.
  • Upgrade Windows Server 2012 to 6.2.9200.23517 or later.
  • Upgrade Windows Server 2012 (Server Core installation) to 6.2.9200.23517 or later.
  • Upgrade Windows Server 2012 R2 to 6.3.9600.20174 or later.
  • Upgrade Windows Server 2012 R2 (Server Core installation) to 6.3.9600.20174 or later.

Who should check

  • Anyone running Microsoft Windows Server 2008 R2 Service Pack 1 >= 6.1.7601.0, < 6.1.7601.25769
  • Anyone running Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) >= 6.1.7601.0, < 6.1.7601.25769
  • Anyone running Microsoft Windows Server 2008 Service Pack 2 >= 6.0.6003.0, < 6.0.6003.21282
  • Anyone running Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) >= 6.0.6003.0, < 6.0.6003.21282
  • Anyone running Microsoft Windows Server 2012 >= 6.2.9200.0, < 6.2.9200.23517
  • Anyone running Microsoft Windows Server 2012 (Server Core installation) >= 6.2.9200.0, < 6.2.9200.23517
  • Anyone running Microsoft Windows Server 2012 R2 >= 6.3.9600.0, < 6.3.9600.20174
  • Anyone running Microsoft Windows Server 2012 R2 (Server Core installation) >= 6.3.9600.0, < 6.3.9600.20174

Vulnerability facts

Affected
Microsoft Windows Server 2008 R2 Service Pack 1 >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 Service Pack 2 >= 6.0.6003.0, < 6.0.6003.21282; Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) >= 6.0.6003.0, < 6.0.6003.21282; Microsoft Windows Server 2012 >= 6.2.9200.0, < 6.2.9200.23517; Microsoft Windows Server 2012 (Server Core installation) >= 6.2.9200.0, < 6.2.9200.23517; Microsoft Windows Server 2012 R2 >= 6.3.9600.0, < 6.3.9600.20174; Microsoft Windows Server 2012 R2 (Server Core installation) >= 6.3.9600.0, < 6.3.9600.20174; Microsoft Windows Server 2016 >= 10.0.14393.0, < 10.0.14393.4770; Microsoft Windows Server 2016 (Server Core installation) >= 10.0.14393.0, < 10.0.14393.4770; Microsoft Windows Server 2019 >= 10.0.17763.0, < 10.0.17763.2300; Microsoft Windows Server 2019 (Server Core installation) >= 10.0.17763.0, < 10.0.17763.2300; Microsoft Windows Server 2022 >= 10.0.20348.0, < 10.0.20348.350; Microsoft Windows Server version 2004 >= 10.0.0, < 10.0.19041.1348; Microsoft Windows Server version 20H2 >= 10.0.0, < 10.0.19041.1348
Fixed in
Microsoft Windows Server 2008 R2 Service Pack 1 6.1.7601.25769, Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) 6.1.7601.25769, Microsoft Windows Server 2008 Service Pack 2 6.0.6003.21282, Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) 6.0.6003.21282, Microsoft Windows Server 2012 6.2.9200.23517, Microsoft Windows Server 2012 (Server Core installation) 6.2.9200.23517, Microsoft Windows Server 2012 R2 6.3.9600.20174, Microsoft Windows Server 2012 R2 (Server Core installation) 6.3.9600.20174, Microsoft Windows Server 2016 10.0.14393.4770, Microsoft Windows Server 2016 (Server Core installation) 10.0.14393.4770, Microsoft Windows Server 2019 10.0.17763.2300, Microsoft Windows Server 2019 (Server Core installation) 10.0.17763.2300, Microsoft Windows Server 2022 10.0.20348.350, Microsoft Windows Server version 2004 10.0.19041.1348, Microsoft Windows Server version 20H2 10.0.19041.1348
Exploited in the wild
Yes: in CISA KEV since 2022-04-11; federal due date 2022-05-02; known ransomware use
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • E: U
  • RL: O
  • RC: C
EPSS
77.17% chance of exploitation in 30 days (percentile 100, 2026-11-26)
Published
Modified

Description

Active Directory Domain Services Elevation of Privilege Vulnerability

Affected and fixed versions

Package / productAffectedFixedSource
Microsoft Windows Server 2008 R2 Service Pack 1>= 6.1.7601.0, < 6.1.7601.25769—cvelist
Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation)>= 6.1.7601.0, < 6.1.7601.25769—cvelist
Microsoft Windows Server 2008 Service Pack 2>= 6.0.6003.0, < 6.0.6003.21282—cvelist
Microsoft Windows Server 2008 Service Pack 2 (Server Core installation)>= 6.0.6003.0, < 6.0.6003.21282—cvelist
Microsoft Windows Server 2012>= 6.2.9200.0, < 6.2.9200.23517—cvelist
Microsoft Windows Server 2012 (Server Core installation)>= 6.2.9200.0, < 6.2.9200.23517—cvelist
Microsoft Windows Server 2012 R2>= 6.3.9600.0, < 6.3.9600.20174—cvelist
Microsoft Windows Server 2012 R2 (Server Core installation)>= 6.3.9600.0, < 6.3.9600.20174—cvelist
Microsoft Windows Server 2016>= 10.0.14393.0, < 10.0.14393.4770—cvelist
Microsoft Windows Server 2016 (Server Core installation)>= 10.0.14393.0, < 10.0.14393.4770—cvelist
Microsoft Windows Server 2019>= 10.0.17763.0, < 10.0.17763.2300—cvelist
Microsoft Windows Server 2019 (Server Core installation)>= 10.0.17763.0, < 10.0.17763.2300—cvelist
Microsoft Windows Server 2022>= 10.0.20348.0, < 10.0.20348.350—cvelist
Microsoft Windows Server version 2004>= 10.0.0, < 10.0.19041.1348—cvelist
Microsoft Windows Server version 20H2>= 10.0.0, < 10.0.19041.1348—cvelist

Timeline

  1. 2021-11-10 Published
  2. 2022-04-11 Added to CISA KEV (exploited in the wild)
  3. 2022-05-02 CISA remediation due date for US federal agencies
  4. 2026-08-19 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-42287. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-42287.md
Affected: Microsoft Windows Server 2008 R2 Service Pack 1 >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 Service Pack 2 >= 6.0.6003.0, < 6.0.6003.21282; Microsoft Windows Server 2008 Se…
Fixed in: Microsoft Windows Server 2008 R2 Service Pack 1 6.1.7601.25769, Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) 6.1.7601.25769, Microsoft Windows Server 2008 Service Pack 2 6.0.6003.21282, Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) 6.0.6003.21…

Steps:
1. Search this machine and project for Microsoft Windows Server 2008 R2 Service Pack 1, Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation), Microsoft Windows Server 2008 Service Pack 2, Microsoft Windows Server 2008 Service Pack 2 (Server Core installation), Microsoft Windows Server 2012, Microsoft Windows Server…: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-42287 being exploited?

Yes. CISA lists CVE-2021-42287 in its Known Exploited Vulnerabilities catalog since 2022-04-11, which means attacks have been seen. No public exploit code is known. EPSS estimates a 77.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-42287?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2021-42287?

Microsoft Windows Server 2008 R2 Service Pack 1 >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) >= 6.1.7601.0, < 6.1.7601.25769; Microsoft Windows Server 2008 Service Pack 2 >= 6.0.6003.0, < 6.0.6003.21282; Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) >= 6.0.6003.0, < 6.0.6003.21282; Microsoft Windows Server 2012 >= 6.2.9200.0, < 6.2.9200.23517; Microsoft Windows Server 2012 (Server Core installation) >= 6.2.9200.0, < 6.2.9200.23517; Microsoft Windows Server 2012 R2 >= 6.3.9600.0, < 6.3.9600.20174; Microsoft Windows Server 2012 R2 (Server Core installation) >= 6.3.9600.0, < 6.3.9600.20174; Microsoft Windows Server 2016 >= 10.0.14393.0, < 10.0.14393.4770; Microsoft Windows Server 2016 (Server Core installation) >= 10.0.14393.0, < 10.0.14393.4770; Microsoft Windows Server 2019 >= 10.0.17763.0, < 10.0.17763.2300; Microsoft Windows Server 2019 (Server Core installation) >= 10.0.17763.0, < 10.0.17763.2300; Microsoft Windows Server 2022 >= 10.0.20348.0, < 10.0.20348.350; Microsoft Windows Server version 2004 >= 10.0.0, < 10.0.19041.1348; Microsoft Windows Server version 20H2 >= 10.0.0, < 10.0.19041.1348.

Is there a fix for CVE-2021-42287?

Yes. Fixed in Microsoft Windows Server 2008 R2 Service Pack 1 6.1.7601.25769, Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation) 6.1.7601.25769, Microsoft Windows Server 2008 Service Pack 2 6.0.6003.21282, Microsoft Windows Server 2008 Service Pack 2 (Server Core installation) 6.0.6003.21282, Microsoft Windows Server 2012 6.2.9200.23517, Microsoft Windows Server 2012 (Server Core installation) 6.2.9200.23517, Microsoft Windows Server 2012 R2 6.3.9600.20174, Microsoft Windows Server 2012 R2 (Server Core installation) 6.3.9600.20174, Microsoft Windows Server 2016 10.0.14393.4770, Microsoft Windows Server 2016 (Server Core installation) 10.0.14393.4770, Microsoft Windows Server 2019 10.0.17763.2300, Microsoft Windows Server 2019 (Server Core installation) 10.0.17763.2300, Microsoft Windows Server 2022 10.0.20348.350, Microsoft Windows Server version 2004 10.0.19041.1348, Microsoft Windows Server version 20H2 10.0.19041.1348. Upgrade Windows Server 2008 R2 Service Pack 1 to 6.1.7601.25769 or later. Upgrade Windows Server 2008 R2 Service Pack 1 (Server Core installation) to 6.1.7601.25769 or later. Upgrade Windows Server 2008 Service Pack 2 to 6.0.6003.21282 or later. Upgrade Windows Server 2008 Service Pack 2 (Server Core installation) to 6.0.6003.21282 or later. Upgrade Windows Server 2012 to 6.2.9200.23517 or later. Upgrade Windows Server 2012 (Server Core installation) to 6.2.9200.23517 or later. Upgrade Windows Server 2012 R2 to 6.3.9600.20174 or later. Upgrade Windows Server 2012 R2 (Server Core installation) to 6.3.9600.20174 or later.

How do I check if I'm affected by CVE-2021-42287?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors