Microsoft has released a security update to addressed a Remote Code Execution Vulnerability in OLE DB and ODBC driver for SQL Server.

techresearch7777777 1,981 Reputation points
2023-06-20T16:43:32.4733333+00:00

Hello we have a security scan vulnerability report and this recently showed up:

"Microsoft has released a security update to addressed a Remote Code Execution Vulnerability in OLE DB and ODBC driver for SQL Server. Both of these are APIs for Microsoft SQL server that provide access to a range of data sources.

Affected Software:
Microsoft ODBC Driver 17 for SQL Server on Windows version prior to 17.10.4.1
Microsoft ODBC Driver 18 for SQL Server on Windows version prior to 18.2.2.1
Microsoft ODBC Driver 17 for SQL Server on Linux version prior to 17.10.4.1
Microsoft ODBC Driver 18 for SQL Server on Linux version prior to 18.2.2
Microsoft SQL Server 2022 for x64-based Systems (CU 5) 
Microsoft SQL Server 2019 for x64-based Systems (CU 21) 
Microsoft OLE DB Driver 19 for SQL Server version prior to 19.3.1
Microsoft OLE DB Driver 18 for SQL Server version prior to 18.6.6

 QID Detection Logic (Authenticated):
On Windows, this QID checks for the vulnerable version of ODBC and OLE DB via the registry keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft" and "HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft" and the related sub keys for ODBC and OLE DB.
On Linux, this QID checks for the vulnerable version of ODBC based on the installed package."

When I run SELECT @@VERSION; on above message the SQL Sever version as follows:

Microsoft SQL Server 2016 (SP3-GDR) (KB5021129) - 13.0.6430.49 (X64) Jan 22 2023 17:38:22 Copyright (c) Microsoft Corporation Standard Edition (64-bit)

What needs to be done to address this...(download & run a specific SQL Server Cumulative Update or Service Pack) ?

Thanks in advance.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,494 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Yitzhak Khabinsky 26,486 Reputation points
    2023-06-20T17:27:18.5566667+00:00

    Hi @techresearch7777777,

    What needs to be done to address this...(download & run a specific SQL Server Cumulative Update or Service Pack) ?

    It is all about drivers only. So, you need to download and install their latest versions. For example, Microsoft OLEDB Driver could be downloaded here:

    https://learn.microsoft.com/en-us/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server?view=sql-server-ver16#previous-releases


  2. ZoeHui-MSFT 41,446 Reputation points
    2023-06-21T05:55:57.3033333+00:00

    Hi @techresearch7777777,

    You may also check it out below.

    Update: Hotfixes released for ODBC and OLE DB drivers for SQL Server

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.