{"affected":[{"platforms":["32-bit Systems","x64-based Systems"],"product":"Microsoft SQL Server 2014 Service Pack 3 (CU 4)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"12.0.6174.8","status":"affected","version":"12.0.0","versionType":"custom"}]},{"platforms":["32-bit Systems","x64-based Systems"],"product":"Microsoft SQL Server 2014 Service Pack 3 (GDR)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"12.0.6444.4","status":"affected","version":"12.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2016 Service Pack 3 (GDR)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"13.0.6430.49","status":"affected","version":"13.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"13.0.7024.30","status":"affected","version":"13.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2017 (CU 31)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"14.0.3460.9","status":"affected","version":"14.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2017 (GDR)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"14.0.2047.8","status":"affected","version":"14.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2019 (CU 18)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"15.0.4280.7","status":"affected","version":"15.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2019 (GDR)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"15.0.2101.7","status":"affected","version":"15.0.0","versionType":"custom"}]},{"platforms":["x64-based Systems"],"product":"Microsoft SQL Server 2022 (GDR)","source":"CNA: microsoft","vendor":"Microsoft","versions":[{"lessThan":"16.0.1050.5","status":"affected","version":"16.0.0","versionType":"custom"}]}],"cpeConfigurations":[{"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"}],"cveId":"CVE-2023-21704","cwes":["CWE-190"],"description":"Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability","epss":{"date":"2026-11-02","percentile":0.33869,"score":0.00397},"exploits":[],"kev":null,"metrics":[{"score":7.8,"severity":"high","source":"CNA: microsoft","vector":"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","version":"3.1"},{"score":7.8,"severity":"high","source":"NVD: secure@microsoft.com","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793661433327,"publishedAt":1676403162272,"references":[{"source":"CNA: microsoft","tags":["vendor-advisory","patch"],"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"},{"source":"ADP: CVE","tags":["vendor-advisory","x_transferred"],"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"},{"source":"secure@microsoft.com","tags":["Patch","Vendor Advisory"],"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"}],"remediation":[{"kind":"fix","source":"CNA: microsoft","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"},{"kind":"fix","source":"secure@microsoft.com","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"},{"kind":"fix","source":"af854a3a-2127-422b-91ae-364da2661108","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21704"}],"revision":"8eef82215cd0406f408c654873326a62ed85d94bae744ef7a7f172c645f23e89","sources":[{"modifiedAt":1793657941435,"name":"CNA: microsoft","retrievedAt":1793660913005,"url":"https://www.cve.org/CVERecord?id=CVE-2023-21704"},{"modifiedAt":1793661433327,"name":"NVD","retrievedAt":1793665072206,"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-21704"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793660922649,"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-21704"}],"ssvc":{"assessedAt":1748976610599,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability","updatedAt":1793665072206}