CVE-2024-29048
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMicrosoft OLE DB Driver for SQL Server Remote Code Execution Vulnerability
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThis is a Remote Code Execution vulnerability in Microsoft OLE DB Driver for SQL Server. The vulnerability allows an attacker to execute arbitrary code on affected systems via the OLE DB driver, likely through specially crafted SQL Server connections or queries. The HIGH CVSS score (8.8) indicates significant potential impact if exploited.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 18.0.2, < 18.7.0002.0>= 19.0.0, < 19.3.0003.0>= 15.0.2000.5, < 15.0.2110.4>= 15.0.4003.23, < 15.0.4360.2>= 16.0.1000.6, < 16.0.1115.1>= 16.0.4003.1, < 16.0.4120.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check OLE DB Driver for SQL Server versionOpen PowerShell and run: Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSOLAP' -ErrorAction SilentlyContinue | Select-Object Version; also check for msoledbsql driver via: Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\msoledbsql' -ErrorAction SilentlyContinue | Select-Object VersionAffected if Installed version falls within >= 18.0.2 and < 18.7.0002.0, OR >= 19.0.0 and < 19.3.0003.0
-
Check SQL Server 2019 versionOpen SQL Server Management Studio or run: SELECT @@VERSION in a SQL query; alternatively check registry at HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.INSTANCEID\Setup for the Version valueAffected if Installed version falls within >= 15.0.2000.5 and < 15.0.2110.4, OR >= 15.0.4003.23 and < 15.0.4360.2
-
Check SQL Server 2022 versionOpen SQL Server Management Studio or run: SELECT @@VERSION in a SQL query; alternatively check registry at HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL16.INSTANCEID\Setup for the Version valueAffected if Installed version falls within >= 16.0.1000.6 and < 16.0.1115.1, OR >= 16.0.4003.1 and < 16.0.4120.1
-
Confirm OLE DB Provider usageCheck application configuration files (web.config, app.config) for connection strings containing 'Provider=MSOLEDBSQL' or 'Provider=msoledbsql' or review installed OLE DB providers via: Get-OleDbProvider in PowerShellAffected if Applications are using the OLE DB driver (MSOLEDBSQL) to connect to SQL Server on affected versions
Environment is affected if either the Microsoft OLE DB Driver for SQL Server is installed at a vulnerable version, OR SQL Server 2019/2022 is running at a vulnerable version and the system accepts OLE DB connections.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped15.0.2110.415.0.4360.216.0.1115.1
Apply Microsoft security updates for the OLE DB Driver for SQL Server once released; prior to patch availability, restrict network access to SQL Server instances and validate least-privilege database user accounts.
Microsoft OLE DB Driver 18.7.0002.0 / 19.3.0003.0; SQL Server 2019 CU23 or CU30; SQL Server 2022 CU12 or CU19
- For OLE DB Driver for SQL Server 18.x: Upgrade to version 18.7.0002.0 or later
- For OLE DB Driver for SQL Server 19.x: Upgrade to version 19.3.0003.0 or later
- For SQL Server 2019 (15.0.2xxx builds): Apply SQL Server 2019 CU23 (KB5036278) which contains build 15.0.2110.4 or later
- For SQL Server 2019 (15.0.4xxx builds): Apply SQL Server 2019 CU30 (KB5036982) which contains build 15.0.4360.2 or later
- For SQL Server 2022 (16.0.1xxx builds): Apply SQL Server 2022 CU12 (KB5035483) which contains build 16.0.1115.1 or later
- For SQL Server 2022 (16.0.4xxx builds): Apply SQL Server 2022 CU19 (KB5036980) which contains build 16.0.4120.1 or later
- After applying updates, verify the version using: SELECT @@VERSION
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-29048 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-29048 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data