Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
🔗 CVE IDs covered (1)
📋 Description
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. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker could exploit the vulnerability by tricking an authenticated user (CVSS metric UI:R) into attempting to connect to a malicious SQL server via a connection driver (for example: ODBC and / or OLEDB as applicable).
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.
🎯 Affected products11
- Microsoft ODBC Driver 17 for SQL Server on Linux
- Microsoft ODBC Driver 17 for SQL Server on MacOS
- Microsoft ODBC Driver 17 for SQL Server on Windows
- Microsoft ODBC Driver 18 for SQL Server on Linux
- Microsoft ODBC Driver 18 for SQL Server on MacOS
- Microsoft ODBC Driver 18 for SQL Server on Windows
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
- Microsoft Visual Studio 2022 version 17.2
- Microsoft Visual Studio 2022 version 17.4
- Microsoft Visual Studio 2022 version 17.6
- Microsoft Visual Studio 2022 version 17.8
✅ Remediation
KBRelease Notes (Security Update) — fixed build 17.10.4.1 KBRelease Notes (Security Update) — fixed build 18.2.1.1 KBRelease Notes (Security Update) — fixed build 18.2.2.1 KBRelease Notes (Security Update) — fixed build 17.2.23 KBRelease Notes (Security Update) — fixed build 17.4.15 KBRelease Notes (Security Update) — fixed build 17.6.11 KBRelease Notes (Security Update) — fixed build 17.8.4 KBRelease Notes (Security Update) — fixed build 16.11.33
🔗 References (17)
- advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29356
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server#17
- referencehttps://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#17104
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server#18
- referencehttps://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows#1822
- patchhttps://learn.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server#version-17
- patchhttps://learn.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server#download-for-windows
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos#17
- patchhttps://learn.microsoft.com/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos#18
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.2
- referencehttps://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.4
- referencehttps://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.6
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.8
- patchhttps://my.visualstudio.com/Downloads?q=Visual Studio 2019 version 16.11
- referencehttps://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11