CVE-2023-21676
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 · uneditedWindows Lightweight Directory Access Protocol (LDAP) Remote Code Execution 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 · low confidenceA remote code execution vulnerability exists in Windows Lightweight Directory Access Protocol (LDAP) implementation. The vulnerability allows an attacker to execute arbitrary code on affected Windows systems via specially crafted LDAP requests, likely through memory corruption or injection flaws in the LDAP service.
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 dataall versionsall versionsall versionsall versionsall versionsall versionsall versionsall versionsCVSS 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
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/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 checksWork through these to decide whether this CVE applies to you.
-
Verify Windows versionRun 'winver' or 'systeminfo | findstr /B /C:"OS Name" /C:"OS Version"' to identify the installed Windows version and build numberAffected if The version matches any of the affected releases: Windows 10 1809, 20h2, 21h2, 22h2; Windows 11 21h2, 22h2; Windows Server 2019; or Windows Server 2022
-
Confirm LDAP service is runningOpen Services console (services.msc) and locate the 'LDAP Client' or 'Active Directory Domain Services' service, or run 'Get-Service ldap*' in PowerShellAffected if An LDAP service is running or enabled on the system
-
Check for Domain Controller roleRun 'Get-ADDomain' in PowerShell (if AD module is installed) or check System Information for 'Domain Controller' role under 'System Role'Affected if The system is configured as a Domain Controller, as these are high-value targets for LDAP-based attacks
-
Identify LDAP listening portsRun 'netstat -an | findstr "389 636"' or use PowerShell 'Get-NetTCPConnection -LocalPort 389,636' to check if LDAP ports are open and listeningAffected if The system has LDAP ports (389 or 636) listening, indicating exposure to network-based LDAP requests
-
Review recent LDAP-related eventsOpen Event Viewer and navigate to 'Application and Services Logs > Directory Service' or run 'Get-WinEvent -FilterHashtable @{LogName='Directory Service';ID=1644} -MaxEvents 10' to look for unusual LDAP activityAffected if Suspicious LDAP query patterns or unexpected LDAP operation errors are logged, which may indicate exploitation attempts
The system is likely affected if it runs an affected Windows version and has LDAP services enabled or exposed, particularly if it functions as a Domain Controller.
Generated from the published advisory. Verify against your own configuration.
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 · scopedApply Microsoft security updates for CVE-2023-21676 to affected Windows systems, prioritizing domain controllers and systems with LDAP exposure.
- Check Windows Update for the latest security updates and install all pending updates
- If automatic updates are not available, search Microsoft Update Catalog for CVE-2023-21676 security update for your specific Windows version
- Download and install the appropriate security update (KB number) for your Windows version from the Microsoft Update Catalog
- Restart the affected system after installing the security update to ensure the patch takes effect
- Verify the update is installed by checking Installed Updates in Control Panel or running 'Get-HotFix' in PowerShell
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-21676 — 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-21676 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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