Authenticated code execution via crafted $partition query
Published Jun 15, 2022 · Updated Jan 2, 2025
Memory corruption in Microsoft SQL Server 2014 through 2019 allows remote authenticated users to execute code via a crafted query. The $partition query path mishandles a specially crafted query against a table with a columnstore index and corrupts SQL Server memory. A valid database login and access to a table with a columnstore index are required; successful exploitation runs code in the database engine context.
Summary
What happened
Memory corruption in Microsoft SQL Server 2014 through 2019 allows remote authenticated users to execute code via a crafted query. The $partition query path mishandles a specially crafted query against a table with a columnstore index and corrupts SQL Server memory. A valid database login and access to a table with a columnstore index are required; successful exploitation runs code in the database engine context.
The record
- CVE
- CVE-2022-29143
- Published
- Jun 15, 2022
- Updated
- Jan 2, 2025
- Vendor
- Microsoft
- Product
- Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack
- Classifications
- T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 15, 2022CVE publishedPublication date reported by the CVE source.
- Jan 2, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13.0.0 <13.0.7016.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo