CVE-2023-21704
Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: microsoftFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Microsoft SQL Server 2014 Service Pack 3 (CU 4) Microsoft Platforms: 32-bit Systems, x64-based Systems |
≥ 12.0.0; < 12.0.6174.8 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2014 Service Pack 3 (GDR) Microsoft Platforms: 32-bit Systems, x64-based Systems |
≥ 12.0.0; < 12.0.6444.4 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2016 Service Pack 3 (GDR) Microsoft Platforms: x64-based Systems |
≥ 13.0.0; < 13.0.6430.49 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack Microsoft Platforms: x64-based Systems |
≥ 13.0.0; < 13.0.7024.30 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2017 (CU 31) Microsoft Platforms: x64-based Systems |
≥ 14.0.0; < 14.0.3460.9 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2017 (GDR) Microsoft Platforms: x64-based Systems |
≥ 14.0.0; < 14.0.2047.8 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2019 (CU 18) Microsoft Platforms: x64-based Systems |
≥ 15.0.0; < 15.0.4280.7 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2019 (GDR) Microsoft Platforms: x64-based Systems |
≥ 15.0.0; < 15.0.2101.7 (affected, custom) | CNA: microsoft |
| Microsoft SQL Server 2022 (GDR) Microsoft Platforms: x64-based Systems |
≥ 16.0.0; < 16.0.1050.5 (affected, custom) | CNA: microsoft |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:microsoft:sql_server:2014:sp3:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:microsoft:sql_server:2016:sp3:*:*:*:*:x64:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:microsoft:sql_server:2017:*:*:*:*:*:x64:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:microsoft:sql_server:2019:*:*:*:*:*:x64:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:microsoft:sql_server:2022:*:*:*:*:*:x64:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C | CNA: microsoft |
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704CNA: microsoft · vendor-advisory, patch
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704ADP: CVE · vendor-advisory, x_transferred
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704[email protected] · Patch, Vendor Advisory
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704af854a3a-2127-422b-91ae-364da2661108 · Patch, Vendor Advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.