CVE-2023-21718: Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Published Feb 14, 2023
·
Updated

Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Affected Software

25 affected componentsFixes available
Microsoft SQL Server=2008-sp4
Microsoft SQL Server=2008_r2-sp3
Microsoft SQL Server=2012-sp4
Microsoft SQL Server=2014-sp3
Microsoft SQL Server=2016-sp3
Microsoft SQL Server=2017
Microsoft SQL Server=2019
Microsoft SQL Server=2022
Microsoft SQL Server 2008 for x64-Based Systems<10.0.6814.4
10.0.6814.4
Microsoft SQL Server 2008<10.0.6814.4
10.0.6814.4
Microsoft SQL Server 2008 R2 for 32-Bit Systems<10.50.6785.2
10.50.6785.2
Microsoft SQL Server 2012<11.0.7512.11
11.0.7512.11
Microsoft SQL Server 2012<11.0.7512.11
11.0.7512.11
Microsoft SQL Server 2014 (CU 4)<12.0.6174.8
12.0.6174.8
Microsoft SQL Server 2014 (CU 4)<12.0.6174.8
12.0.6174.8
Microsoft SQL Server 2016 Azure Connect Feature Pack<13.0.7024.30
13.0.7024.30
Microsoft SQL Server 2019 (CU 18)<15.0.4280.7
15.0.4280.7
Microsoft SQL Server 2008 R2 for x64-Based Systems<10.50.6785.2
10.50.6785.2
Microsoft SQL Server 2017 (CU 31)<14.0.3460.9
14.0.3460.9
Microsoft SQL Server 2014<12.0.6444.4
12.0.6444.4
Microsoft SQL Server 2022<16.0.1050.5
16.0.1050.5
Microsoft SQL Server 2016<13.0.6430.49
13.0.6430.49
Microsoft SQL Server 2014<12.0.6444.4
12.0.6444.4
Microsoft SQL Server 2019<15.0.2101.7
15.0.2101.7
Microsoft SQL Server 2017<14.0.2047.8
14.0.2047.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.6814.4Patch KB5020863
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.50.6785.2Patch KB5021112
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.0.7512.11Patch KB5021123
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.0.6174.8Patch KB5021045
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.0.7024.30Patch KB5021128
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.0.4280.7Patch KB5021124
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.0.3460.9Patch KB5021126
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.0.6444.4Patch KB5021037
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.0.1050.5Patch KB5021522
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.0.6430.49Patch KB5021129
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.0.2101.7Patch KB5021125
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.0.2047.8Patch KB5021127

Event History

Feb 14, 2023
CVE Published
via Microsoft·08:00 AM
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Description
CVE Published
via MITRE·07:32 PM
Data Sourced
via MITRE·07:32 PM
DescriptionSeverity
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-21718?

CVE-2023-21718 is a remote code execution vulnerability in Microsoft ODBC Driver for SQL Server.

2

What software versions are affected by CVE-2023-21718?

Microsoft SQL Server 2008 (SP4), 2008 R2 (SP3), 2012 (SP4), 2014 (SP3), 2016 (SP3), 2017, 2019, and 2022 are affected.

3

What is the severity of CVE-2023-21718?

CVE-2023-21718 has a severity rating of 7.8 (high).

4

How can I fix CVE-2023-21718?

You can fix CVE-2023-21718 by applying the relevant security patches provided by Microsoft.

5

Where can I find more information about CVE-2023-21718?

You can find more information about CVE-2023-21718 on the Microsoft Security Response Center website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203