Actively exploited in the wild. This CVE is on the CISA Known Exploited Vulnerabilities list — treat remediation as urgent. Federal remediation due by 2 May 2022. Known ransomware use
Windows Server 2004Operating system · Microsoft

CVE-2021-42287

HIGH · 7.5 CVSS v3.1 Published 2021-11-10
Fix available
A fix is available. Upgrade to 10.0.14393.4770 / 10.0.17763.2300 or later.
See remediation →
100/100
Remediation priority · Urgent
In the wild Ransomware High EPSS Remotely reachable Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Active Directory Domain Services Elevation of Privilege Vulnerability

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

CVE-2021-42287 is a vulnerability in Active Directory Domain Services that allows an attacker to elevate privileges within the domain. This could potentially enable unauthorized access to sensitive resources and data.

MitigationTo remediate this vulnerability, it is recommended to apply the latest security updates provided by Microsoft for Active Directory Domain Services. Regularly review and tighten access controls to minimize exposure.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Windows Server 2004Operating system
Affected:< 10.0.19041.1348
Windows Server 2008Operating system
Affected:all versions= r2
Windows Server 2012Operating system
Affected:all versions= r2
Windows Server 2016Operating system
Affected:< 10.0.14393.4770
Windows Server 2019Operating system
Affected:< 10.0.17763.2300
Windows Server 2022Operating system
Affected:< 10.0.20348.350
Windows Server 20h2Operating system
Affected:< 10.0.19042.1348

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm the server is running Active Directory Domain Services
    Run 'Get-WindowsFeature -Name AD-Domain-Services' in PowerShell on the target server, or check Server Manager for the AD DS role installed
    Affected if The server is not a domain controller (AD DS not installed), then the vulnerability does not apply
  2. Identify the installed Windows Server version
    Run 'winver' or 'systeminfo | findstr /B /C:"OS Name" /C:"OS Version"' to obtain the full build number
    Affected if The build number falls within any of the affected ranges: Server 2004 < 10.0.19041.1348, Server 2008 all/R2, Server 2012 all/R2, Server 2016 < 10.0.14393.4770, Server 2019 < 10.0.17763.2300, Server 2022 < 10.0.20348.350, Server 20H2 < 10.0.19042.1348
  3. Verify whether the security update is installed
    Run 'Get-HotFix -Id KB5008602' or check Windows Update history for the presence of security update KB5008602 (December 2021 security update for this CVE)
    Affected if The hotfix KB5008602 is NOT installed and the server version falls within the affected ranges, then the system is vulnerable

A domain controller running an unpatched Windows Server version within the affected build ranges is vulnerable to CVE-2021-42287.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 10.0.14393.4770 / 10.0.17763.2300 / 10.0.19041.1348 or later
Fixed in 10.0.14393.477010.0.17763.230010.0.19041.1348
Interim mitigation

To remediate this vulnerability, it is recommended to apply the latest security updates provided by Microsoft for Active Directory Domain Services. Regularly review and tighten access controls to minimize exposure.

Recommended fix High confidence

Windows Server 2016: build 10.0.14393.4770+ (KB5007215) | Windows Server 2019: build 10.0.17763.2300+ (KB5008602) | Windows Server 2022: build 10.0.20348.350+ (KB5008212)

  1. Identify the current Windows Server version by running 'winver' or 'systeminfo' to confirm the exact build number
  2. For Windows Server 2016 (build < 10.0.14393.4770): Install the November 2021 security update (KB5007215) or later cumulative update
  3. For Windows Server 2019 (build < 10.0.17763.2300): Install the November 2021 security update (KB5008602) or later cumulative update
  4. For Windows Server 2022 (build < 10.0.20348.350): Install the November 2021 security update (KB5008212) or later cumulative update
  5. For Windows Server 2008/2012 (all versions): Apply extended security updates if enrolled in the ESU program, otherwise plan migration to supported Windows Server versions
  6. Verify the patch installation by checking the updated build number matches or exceeds the fixed version
  7. Restart the Domain Controller after applying the update
Caveat Testing in non-production environment recommended before deploying updates to production Domain Controllers; ensure backups exist

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Windows Server 2004 Exploited in the wild — priority engagement
  • Consultation4.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
16.0 hours of engineering $2,840
Get it fixed fast

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,544.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-42287 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-42287 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data