Skip to content
OpenAdvisories
High MSRC-CVE-2023-32027 1 CVE

Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Published Jun 13, 2023 · Updated Jan 9, 2024 · Revision 5

Summary

Impact: Remote Code Execution. Microsoft rating: Important. Not known to be exploited — Exploitation Less Likely. Customer action: Required.

Details

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution?
The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally.
For example, when the score indicates that the Attack Vector is Local and User Interaction is Required, this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.

If I normally install GDR versions and have not installed the June Cumulative Update, am I affected by the vulnerability?
Yes, customers who have installed Microsoft SQL Server 2022 for x64-based Systems (GDR) or Microsoft SQL Server 2019 for x64-based Systems (GDR) are vulnerable. Microsoft recommends updating to the latest cumulative update to be protected from this vulnerability.

Security updates
17.10.4.1 — https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#17104
18.2.2.1 — https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#1822
16.11.33 — https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11
17.2.23 — https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes
17.4.15 — https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes

Vulnerabilities 1

Revision history

  1. #5

    In the Security Updates table, added Microsoft Visual Studio 2019 version 16.11, Visual Studio 2022 version 17.2, Visual Studio 2022 version 17.4, Visual Studio 2022 version 17.6, and Visual Studio 2022 version 17.8 because these products are also affected by this vulnerability. Microsoft strongly recommends that customers running any of these products install the updates to be fully protected from the vulnerability. Customers whose systems are configured to receive automatic updates do not need to take any further action.

  2. #4

    Updated product information in the Software Update table. This is an informational change only.

  3. #3

    Updated links to security updates. This is an informational change only.

  4. #2

    Added an FAQ to inform customers who have installed Microsoft SQL Server 2022 for x64-based Systems (GDR) or Microsoft SQL Server 2019 for x64-based Systems (GDR) are vulnerable. Microsoft recommends updating to the latest cumulative update to be protected from this vulnerability.

  5. #1

    Information published.

References