Summary
Impact: Remote Code Execution. Microsoft rating: Important. Not known to be exploited — Exploitation Less Likely. Customer action: Required.
Details
How could an attacker exploit this vulnerability?
An attacker could exploit the vulnerability by tricking an authenticated user into attempting to connect to a malicious SQL server via ODBC, which could result in the client receiving a malicious networking packet. This could allow the attacker to execute code remotely on the client.
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).
I am running SQL Server on my system. What action do I need to take?
Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates.
Update your application to use Microsoft ODBC Driver 17 or 18 for SQL Server. Update the drivers to the versions listed on this page, which provide protection against this vulnerability.
Consult with your application vendor if it is compatible with Microsoft ODBC Driver 17 or 18 for SQL Server. Update the drivers to the versions listed in this page, which provide protection against this vulnerability
First, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components., Second, in the table below, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install.
5036343: 5036343, Security update for SQL Server 2022 CU12+GDR: Security update for SQL Server 2022 CU12+GDR, 16.0.4003.1 - 16.0.4115.5: 16.0.4003.1 - 16.0.4115.5, KB 5033663 - SQL2022 RTM CU12: KB 5033663 - SQL2022 RTM CU12, 5035432: 5035432, Security update for SQL Server 2022 RTM+GDR: Security update for SQL Server 2022 RTM+GDR, 16.0.1000.6 - 16.0.1110.1: 16.0.1000.6 - 16.0.1110.1, KB 5032968 - Previous SQL2022 RTM GDR: KB 5032968 - Previous SQL2022 RTM GDR, 5036335: 5036335, Security update for SQL Server 2019 CU25+GDR: Security update for SQL Server 2019 CU25+GDR, 15.0.4003.23 - 15.0.4355.3: 15.0.4003.23 - 15.0.4355.3, KB 5033688 - SQL2019 RTM CU25: KB 5033688 - SQL2019 RTM CU25, 5035434: 5035434, Security update for SQL Server 2019 RTM+GDR: Security update for SQL Server 2019 RTM+GDR, 15.0.2000.5 - 15.0.2104.1: 15.0.2000.5 - 15.0.2104.1, KB 5029377 - Previous SQL2019 RTM GDR: KB 5029377 - Previous SQL2019 RTM GDR
The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different servicing options in place for SQL Server baseline releases. A baseline can be either an RTM release or a Service Pack release.
GDR updates – cumulatively only contain security updates for the given baseline., CU updates – cumulatively contain all functional fixes and security updates for the given baseline.
For any given baseline, either the GDR or CU updates could be options (see below).
If SQL Server installation is at a baseline version, you can choose either the GDR or CU update., If SQL Server installation has intentionally only installed past GDR updates, then choose to install the GDR update package., If SQL Server installation has intentionally installed previous CU updates, then chose to install the CU security update package.
Security updates
15.0.4360.2 — https://support.microsoft.com/help/5036335
16.0.4120.1 — https://support.microsoft.com/help/5036343
15.0.2110.4 — https://support.microsoft.com/help/5035434
16.0.1115.1 — https://support.microsoft.com/help/5035432
17.10.6.1 — https://support.microsoft.com/help/5037570
17.10.6.1 — https://learn.microsoft.com/sql/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac#17106-april-2024
17.10.6.1 — https://learn.microsoft.com/sql/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac#17106-April-2024
18.3.3.1 — https://support.microsoft.com/help/5037571
18.3.3.1 — https://learn.microsoft.com/sql/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac#18331-April-2024
16.11.35 — https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11
17.9.6 — https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
Vulnerabilities 1
-
High 8.8
Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
Revision history
-
#2
Corrected Cumulative Update version numbers and reference KB numbers in the FAQ: "There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use?" These are informational changes only.
-
#1
Information published.
References
-
CVE-2024-28929 Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability - HTML
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28929
-
Microsoft Exploitability Index
https://www.microsoft.com/en-us/msrc/exploitability-index?rtc=1
-
Microsoft Support Lifecycle
https://support.microsoft.com/lifecycle
-
Common Vulnerability Scoring System
https://www.first.org/cvss