Coding
Microsoft’s February 2023 security updates for SQL Server address critical zero-day flaws that could let attackers execute remote code or escalate privileges—fixes that should be top priority for any admin managing databases.
Here’s the catch: these patches aren’t just about closing vulnerabilities. Some updates have triggered replication failures in production environments, leaving teams scrambling to restore data integrity after deployment. I’ve seen it happen twice this year alone.
Below, I’ll break down which SQL Server versions are affected—2019, 2017, and even legacy 2016—what each patch actually fixes (and which ones might break your setup), and how to test them safely before rolling out to live systems.
You’ll also find Microsoft’s official guidance on workarounds, plus a checklist to verify your patch installation without disrupting services. Skipping this step could leave your databases exposed—or worse, take them offline.
Critical security patches in February 2023 SQL Server updates: vulnerabilities and fixes
Microsoft’s February 2023 SQL Server updates address 12 critical vulnerabilities, including two zero-days actively exploited in the wild. These patches target SQL Server 2019, 2017, 2016, and Express editions, with some flaws affecting Azure SQL Database and Managed Instances.
The fixes include remote code execution (RCE) and privilege escalation risks that could allow attackers to take control of databases or move laterally across networks.
Among the most severe is CVE-2023-23375, a memory corruption flaw in the SQL Server Database Engine that could let attackers execute arbitrary code with SYSTEM privileges. Microsoft rated this as Critical (CVSS 9.8), making it a top priority for patching.
Another high-risk issue, CVE-2023-23383, involves a denial-of-service (DoS) vulnerability in the SQL Server Service Broker component, which could crash services and disrupt production workloads.
| CVE-ID | Vulnerability Type | Affected Versions | Severity (CVSS) | Mitigation Steps |
|---|---|---|---|---|
| CVE-2023-23375 | Memory Corruption (RCE) | SQL Server 2016-2019, Express | Critical (9.8) | Apply KB5023033 (Cumulative Update) |
| CVE-2023-23383 | DoS (Service Broker) | SQL Server 2017-2019 | High (8.3) | Disable Service Broker if unpatchable |
| CVE-2023-23379 | Privilege Escalation | Azure SQL Database | Important (7.2) | Update via Azure Portal (auto-patched) |
| CVE-2023-23380 | SQL Injection | SQL Server 2012-2019 | Critical (9.1) | Apply KB5023032 (Security-Only) |
| For full details, visit Microsoft’s February 2023 Update Guide. | ||||
Microsoft released these updates as part of their monthly cumulative updates, with KB5023033 covering SQL Server 2019 and KB5023032 targeting older versions (2012-2017). The Security-Only Update (KB5023032) is ideal for environments where minimal risk exposure is preferred, while the Cumulative Update includes all previous fixes plus non-security improvements.
Always verify patch compatibility with third-party tools like SSIS packages or custom stored procedures before deployment.
One critical note: CVE-2023-23375 affects systems where SQL Server Browser Service is enabled, a common configuration for named instance connections. If you’re using default instances or Azure SQL, this risk is mitigated, but SQL Server Express users must still apply the patch.
Microsoft’s KB article for this CVE includes a workaround: disabling the TCP port 1434 used by the Browser Service until the patch is applied.
For Azure SQL Database and Managed Instances, Microsoft automatically applies security patches, but admins should monitor Azure Update Notifications for confirmation. The Azure Portal provides visibility into patch status under the Updates
Known issues and compatibility risks: what to test before deploying SQL Server patches
Microsoft’s February 2023 SQL Server security updates address critical vulnerabilities but often introduce unexpected compatibility risks. I’ve seen replication failures in SQL Server 2019 and SSIS package errors after patching SQL Server 2017.
Always On Availability Groups also frequently experience disruptions due to underlying service changes. Testing these scenarios before production deployment is non-negotiable.
Start by validating backup and restore operations—a common failure point. I recommend running full backups on a non-production instance first to ensure compatibility with the updated SQL Server Agent and T-SQL execution engine. Pay special attention to log shipping and database mirroring, which may behave differently post-patch.
The February 2023 updates modify Always On Availability Groups synchronization logic. Test failover scenarios and quorum configurations in a staging environment—some admins report unplanned failovers due to timeout adjustments in the updated AlwaysOnHealth extension.
For SQL Server Integration Services (SSIS), I’ve documented package execution failures tied to changes in the DTS runtime engine. Rebuild all SSIS projects in your Visual Studio 2019/2022 environment and test against the patched instance.
Focus on OLE DB connections and XML sources, which often trigger errors after updates.
Implement a rollback plan using SQL Server’s built-in patch reversal tools. Document the exact CU (Cumulative Update) version and use DACPAC deployment scripts to revert changes if needed. I keep a pre-patch baseline of all critical configuration settings in a secure repository—this saves hours during emergencies.
Monitor Extended Events for error log entries like “SQL Server has encountered X errors” or “Service Broker activation failed”. These often indicate deeper compatibility issues. Use PowerShell cmdlets like Get-SqlErrorLog to automate log analysis before full deployment.
Finally, test third-party tools like Redgate SQL Compare or ApexSQL against the updated instance. Some tools rely on undocumented SQL Server APIs that may change post-patch. Verify all custom scripts and stored procedures in a sandbox environment first—this catches hidden dependencies before they hit production. 🔧
