CVE-2023-21718

Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

7.8 high EPSS 0.90%

Published 14 Feb 2023 Updated 19 Aug 2026 CNA: microsoft

Description

Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Severity (CVSS)

7.8 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.90%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 57.8% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 28 Feb 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected products

As the CNA lists them.

ProductVersions
Microsoft SQL Server 2008 R2 Service Pack 3 (QFE)
affected from 10.0.0, before 10.50.6785.2
Microsoft SQL Server 2008 Service Pack 4 (QFE)
affected from 10.0.0, before 10.0.6814.4
Microsoft SQL Server 2012 for x64-based Systems Service Pack 4 (QFE)
affected from 11.0.0, before 11.0.7512.11
Microsoft SQL Server 2012 Service Pack 4 (QFE)
affected from 11.0.0, before 11.0.7512.11
Microsoft SQL Server 2014 Service Pack 3 (CU 4)
affected from 12.0.0, before 12.0.6174.8
Microsoft SQL Server 2014 Service Pack 3 (GDR)
affected from 12.0.0, before 12.0.6444.4
Microsoft SQL Server 2016 Service Pack 3 (GDR)
affected from 13.0.0, before 13.0.6430.49
Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack
affected from 13.0.0, before 13.0.7024.30
Microsoft SQL Server 2017 (CU 31)
affected from 14.0.0, before 14.0.3460.9
Microsoft SQL Server 2017 (GDR)
affected from 14.0.0, before 14.0.2047.8
Microsoft SQL Server 2019 (CU 18)
affected from 15.0.0, before 15.0.4280.7
Microsoft SQL Server 2019 (GDR)
affected from 15.0.0, before 15.0.2101.7
Microsoft SQL Server 2022 (GDR)
affected from 16.0.0, before 16.0.1050.5

Is my server affected?

This CVE is in Microsoft SQL Server 2008 R2 Service Pack 3 (QFE) of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2023-21718 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.