SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability
Released: Jul 9, 2024
Last updated: Sep 13, 2024
- Assigning CNA
- Microsoft
- CVE.org link
- CVE-2024-35272
- Impact
- Remote Code Execution
- Max Severity
- Important
- Weakness
- CVSS Source
- Microsoft
- Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Metrics
- CVSS:3.1 8.8 / 7.7Base score metrics: 8.8 / Temporal score metrics: 7.7
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Exploit Code Maturity
Unproven
Remediation Level
Official Fix
Report Confidence
Confirmed
Please see Common Vulnerability Scoring System for more information on the definition of these metrics.
Exploitability
The following table provides an exploitability assessment for this vulnerability at the time of original publication.
- Publicly disclosed
- No
- Exploited
- No
- Exploitability assessment
- Exploitation Unlikely
FAQ
How could an attacker exploit this vulnerability?
An attacker could exploit the vulnerability by tricking an authenticated user (UI:R) into attempting to connect to a malicious SQL server database via a connection driver (for example: OLE DB or OLEDB as applicable). This could result in the database returning malicious data that could cause arbitrary code execution on the client.
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.
I am running my own application on my system. What action do I need to take?
Update your application to use Microsoft OLE DB Driver 18 or 19. Update the drivers to the versions listed on this page, which provide protection against this vulnerability.
I am running an application from a software vendor on my system. What action do I need to take?
Consult with your application vendor if it is compatible with Microsoft OLE DB Driver 18 or 19. Update the drivers to the versions listed in this page, which provide protection against this vulnerability
There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use?
- 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.
Note If your SQL Server version number is not represented in the table below, your SQL Server version is no longer supported. Please upgrade to the latest Service Pack or SQL Server product in order to apply this and future security updates.
Update Number | Title | Apply if current product version is… | This security update also includes servicing releases up through… |
---|---|---|---|
5040939 | Security update for SQL Server 2022 CU13+GDR | 16.0.4003.1 - 16.0.4125.3 | KB 5036432 - SQL2022 RTM CU13 |
5040936 | Security update for SQL Server 2022 RTM+GDR | 16.0.1000.6 - 16.0.1115.1 | KB 5035432 - Previous SQL2022 RTM GDR |
5040948 | Security update for SQL Server 2019 CU27+GDR | 15.0.4003.23 - 15.0.4375.4 | KB 5037331 - SQL2019 RTM CU27 |
5040986 | Security update for SQL Server 2019 RTM+GDR | 15.0.2000.5 - 15.0.2110.4 | KB 5035434 - Previous SQL2019 RTM GDR |
5040940 | Security update for SQL Server 2017 CU31+GDR | 14.0.3006.16 - 14.0.3465.1 | KB 5029376 - SQL2017 RTM CU31 |
5040942 | Security update for SQL Server 2017 RTM+GDR | 14.0.1000.169 - 14.0.2052.1 | KB 5029375 - Previous SQL2017 RTM GDR |
5040944 | Security update for SQL 2016 Azure Connect Feature Pack | 13.0.7000.253 - 13.0.7029.3 | KB 5029187 - SQL2016 Azure Connect Feature Pack |
5040946 | Security update for SQL Server 2016RTM+GDR | 13.0.6300.2 - 13.0.6435.1 | KB 5029186 - Previous SQL2016 RTM GDR |
What are the GDR and CU update designations and how do they differ?
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.
Note: You are allowed to make a change from GDR updates to CU updates ONE TIME. Once a SQL Server CU update is applied to a SQL Server installation, there is NO way to go back to the GDR update path.
Can the security updates be applied to SQL Server instances on Windows Azure (IaaS)?
Yes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.
Acknowledgements
- Yuki Chen
- Anonymous
Security Updates
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle.
- 17.11.3
- 17.10.7
- 17.8.14
- 17.6.19
- 16.11.40
- 15.9.66
- 16.0.4131.2
- 15.0.4382.1
- 16.0.1121.4
- 14.0.3471.2
- 13.0.7037.1
- 13.0.6441.1
- 15.0.2116.2
Disclaimer
Revisions
Corrected Build Numbers in the Security Updates table. This is an informational change only.
In the Security Updates table, added Visual Studio 2017 version 15.9, Visual Studio 2019 version 16.11, and Visual Studio 2022 versions 17.6, 17.8, 17.10, and 17.11 as they are also affected by this vulnerability.
Microsoft 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.
Information published.