Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2023-21705
Vulnerability dossier

CVE-2023-21705

Microsoft SQL Server Remote Code Execution

VendormicrosoftPublishedFeb 14, 2023SourceNVDWeaknessCWE-321
Plan a fix

Severe, but no confirmed exploitation yet. Schedule remediation in your next patch cycle and apply mitigations if you're exposed.

Severity
High · 8.8
CVSS base score
Exploitation
Not observed
No known exploitation or public exploit
Exploit likelihood
1%
Chance of exploitation in 30 days (EPSS)
Exposure
Remote (auth)
Remotely exploitable, but needs an account
01

What's the risk?

An attacker with a basic user account, remotely over the network, with no user interaction, can fully compromise the system — steal data, tamper with it and take it offline.

Microsoft SQL Server Remote Code Execution Vulnerability

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Initial Access
T1190Exploit Public-Facing Application

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Are we affected?

6
  • Affectedmicrosoft · sql_server2012
  • Affectedmicrosoft · sql_server2014
  • Affectedmicrosoft · sql_server2016
  • Affectedmicrosoft · sql_server2017
  • Affectedmicrosoft · sql_server2019
  • Affectedmicrosoft · sql_server2022
03

What to do

Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

  1. !

Mitigate now

Isolate SQL Server instances from the public internet and restrict network access to trusted hosts and users only, preferably using firewalls and network segmentation. Implement strong authentication policies and the principle of least privilege for all SQL accounts to limit potential attacker capabilities. Enhance monitoring for unusual login attempts or suspicious process execution on SQL Server hosts.

  • ✓

    Permanent fix

    The permanent resolution is to apply the specific security updates released by Microsoft for CVE-2023-21705. These patches address the underlying vulnerability in affected versions including SQL Server 2019, SQL Server 2022, and Azure SQL Edge. Regularly review Microsoft's Security Update Guide and deploy updates promptly to ensure system integrity.

  • Technical details— weakness, CVSS vector & calculator, related CVEs

    Business impact

    An authenticated attacker can execute arbitrary code with elevated privileges on the vulnerable SQL Server instance. This can lead to complete compromise of the database server, enabling data theft, modification, or even using the server as a pivot point for further network attacks, causing significant business disruption and data loss.

    Weakness

    1
    CWE-321Common Weakness Enumeration · MITRE definition

    CVSS 3.1 details

    CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    0.0
    / 10.0 base
    High severity
    CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Exploitability metrics
    Attack VectorAV
    Remotely exploitable across a network
    Attack ComplexityAC
    No special conditions required
    Privileges RequiredPR
    Basic user privileges
    User InteractionUI
    No user participation needed
    Impact metrics
    ScopeS
    Impact confined to the vulnerable component
    ConfidentialityC
    Total loss of confidentiality
    IntegrityI
    Total loss of integrity
    AvailabilityA
    Total loss of availability

    Related vulnerabilities

    Other CVEs affecting sql server

    NVD
    8.8High
    CVE-2020-0618KEV⚙ WeaponizedExploit likely

    A remote code execution vulnerability exists in Microsoft SQL Server Reporting Services when it incorrectly handles page requests, aka 'Microsoft SQL Server Reporting Services Remote Code Execution Vulnerability'.

    microsoftCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2020-02-11
    NVD
    8.8High
    CVE-2019-1068KEVExploit likely

    A remote code execution vulnerability exists in Microsoft SQL Server when it incorrectly handles processing of internal functions, aka 'Microsoft SQL Server Remote Code Execution Vulnerability'.

    microsoftCWE-20Improper Input ValidationNetworkLow effortLow privNo interactionCIA
    2019-07-15
    NVD
    8.8High
    CVE-2012-1856KEVExploit likely

    The TabStrip ActiveX control in the Common Controls in MSCOMCTL.OCX in Microsoft Office 2003 SP3, Office 2003 Web Components SP3, Office 2007 SP2 and SP3, Office 2010 SP1, SQL Server 2000 SP4, SQL Server 2005 SP4, SQL Server 2008 SP2, SP3, R2, R2 SP1, and R2 SP2, Commerce Server 2002 SP4, Commerce Server 2007 SP2, Commerce Server 2009 Gold and R2, Host Integration Server 2004 SP1, Visual FoxPro 8.0 SP1, Visual FoxPro 9.0 SP2, and Visual Basic 6.0 Runtime allows remote attackers to execute arbitrary code via a crafted (1) document or (2) web page that triggers system-state corruption, aka "MSCOMCTL.OCX RCE Vulnerability."

    microsoftNetworkLow effortNo authUser neededCIA
    2012-08-14
    NVD
    8.8High
    CVE-2023-38169

    Microsoft SQL OLE DB Remote Code Execution Vulnerability

    microsoftCWE-416Use After FreeNetworkLow effortNo authUser neededCIA
    2023-08-08
    NVD
    8.8High
    CVE-2023-21713

    Microsoft SQL Server Remote Code Execution Vulnerability

    microsoftCWE-502Deserialization of Untrusted DataNetworkLow effortLow privNo interactionCIA
    2023-02-14
    NVD
    7.8High
    CVE-2023-32028

    Microsoft SQL OLE DB Remote Code Execution Vulnerability

    microsoftCWE-122Heap-based Buffer OverflowLocalLow effortNo authUser neededCIA
    2023-06-16
    NVD
    7.8High
    CVE-2023-21718

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

    microsoftCWE-191Integer UnderflowLocalLow effortNo authUser neededCIA
    2023-02-14
    NVD
    7.8High
    CVE-2023-21704

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

    microsoftCWE-190Integer OverflowLocalLow effortLow privNo interactionCIA
    2023-02-14
    0.0
    / 10.0 base
    High severity
    Key facts
    CVE ID
    CVE-2023-21705
    Published
    Feb 14, 2023
    Last modified
    Aug 19, 2026
    CVSS
    8.8 (v3.1)
    EPSS
    1.12%
    In CISA KEV
    No
    Confidence
    92/100
    Weakness
    CWE-321
    Timeline
    1. Feb 14, 2023Published to NVDNVD
    2. Aug 19, 2026Record last modifiedNVD
    3. Aug 21, 2026AI analysis generatedWavense
    View on NVD