PatchaPalooza

CVE-2023-36728: Microsoft SQL Server Denial of Service Vulnerability

CVE-2023-36728 is a denial of service vulnerability in Microsoft SQL Server, rated Important by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.73% probability of exploitation activity in the next 30 days, higher than 50% of all scored vulnerabilities. Microsoft released the fix on 10 October 2023 in the October 2023 Patch Tuesday, delivered through 10 security updates (KB5029378, KB5029503, KB5029375, KB5029184 and more). It affects 20 products in 1 product family (SQL Server).

Key facts

CVE ID
CVE-2023-36728
Severity
Medium CVSS 5.5
Microsoft severity
Important
Impact
Denial of Service
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-125
EPSS
0.73% (percentile 50%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
October 2023 Patch Tuesday
Product families
SQL Server

CVSS score and vector

Microsoft scores CVE-2023-36728 at 5.5 (temporal 4.8) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Frequently asked questions (Microsoft)

According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of availability (A:H)? What does that mean for this vulnerability?

An attacker could impact availability of the service resulting in Denial of Service (DoS).

I am running SQL Server on my system. What action do I need to take?

Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates.

I am running my own application on my system. What action do I need to take?

Update your application to use Microsoft ODBC Driver 17 (or 18) for SQL Server or Microsoft OLE DB Driver 18 (or 19). Update the drivers to the versions listed on this page, which provide protection against this vulnerability.

I am running an application from a software vendor on my system. What action do I need to take?

Consult with your application vendor if it is compatible with Microsoft ODBC Driver 17 (or 18) for SQL Server or Microsoft OLE DB Driver 18 (or 19). Update the drivers to the versions listed in this page, which provide protection against this vulnerability

There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use?

  • First, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components.
  • Second, in the table below, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install.

Note If your SQL Server version number is not represented in the table below, your SQL Server version is no longer supported. Please upgrade to the latest Service Pack or SQL Server product in order to apply this and future security updates.

Update Number

Title

Apply if current product version is…

This security update also includes servicing releases up through…

5029503

Security update for SQL Server 2022 CU8+GDR

16.0.4003.1 - 16.0.4075.1

KB 5029666 - SQL2022 RTM CU8

5029379

Security update for SQL Server 2022 RTM+GDR

16.0.1000.6 - 16.0.1050.5

KB 5021522 - Previous SQL2022 RTM GDR

5029378

Security update for SQL Server 2019 CU22+GDR

15.0.4003.23 - 15.0.4322.2

KB 5027702 - SQL2019 RTM CU22

5029377

Security update for SQL Server 2019 RTM+GDR

15.0.2000.5 - 15.0.2101.7

KB 5021125 - Previous SQL2019 RTM GDR

5029376

Security update for SQL Server 2017 CU31+GDR

14.0.3006.16 - 14.0.3460.9

KB 5021126 - SQL2017 RTM CU31

5029375

Security update for SQL Server 2017 RTM+GDR

14.0.1000.169 - 14.0.2047.8

KB 5021127 - Previous SQL2017 RTM GDR

5029187

Security update for SQL Server 2016 SP3 Azure Connect Feature Pack+GDR

13.0.7000.253 - 13.0.7024.30

KB 5021128 - Previous Azure Connect Feature Pack GDR

5029186

Security update for SQL Server 2016 SP3+GDR

13.0.6300.2 - 13.0.6430.49

KB 5021129 - Previous SQL2016 SP3 GDR

5029185

Security update for SQL Server 2014 SP3 CU4+GDR

12.0.6205.1 - 12.0.6444.4

KB 5021045 - SQL2014 SP3 CU4

5029184

Security update for SQL Server 2014 SP3+GDR

12.0.6024.0 - 12.0.6174.8

KB 5021037 - Previous SQL2014 SP3 GDR

What are the GDR and CU update designations and how do they differ?

The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different servicing options in place for SQL Server baseline releases. A baseline can be either an RTM release or a Service Pack release.

  • GDR updates – cumulatively only contain security updates for the given baseline.
  • CU updates – cumulatively contain all functional fixes and security updates for the given baseline.

For any given baseline, either the GDR or CU updates could be options (see below).

  • If SQL Server installation is at a baseline version, you can choose either the GDR or CU update.
  • If SQL Server installation has intentionally only installed past GDR updates, then choose to install the GDR update package.
  • If SQL Server installation has intentionally installed previous CU updates, then chose to install the CU security update package.

Note: You are allowed to make a change from GDR updates to CU updates ONE TIME. Once a SQL Server CU update is applied to a SQL Server installation, there is NO way to go back to the GDR update path.

Can the security updates be applied to SQL Server instances on Windows Azure (IaaS)?

Yes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.

Affected products (20)

SQL Server

ProductSecurity updateTypeFixed buildRestart
Microsoft SQL Server 2019 for x64-based Systems (CU 22)KB5029378Security Update15.0.4326.1Maybe
Microsoft SQL Server 2022 for x64-based Systems (CU 8)KB5029503Security Update16.0.4080.1Maybe
Microsoft SQL Server 2017 for x64-based Systems (GDR)KB5029375Security Update14.0.2052.1Maybe
Microsoft SQL Server 2014 Service Pack 3 for x64-based Systems (GDR)KB5029184Security Update12.0.6179.1Maybe
Microsoft SQL Server 2014 Service Pack 3 for 32-bit Systems (GDR)KB5029184Security Update12.0.6179.1Maybe
Microsoft SQL Server 2014 Service Pack 3 for 32-bit Systems (CU 4)KB5029185Security Update12.0.6449.1Maybe
Microsoft SQL Server 2019 for x64-based Systems (GDR)KB5029377Security Update15.0.2104.1Maybe
Microsoft SQL Server 2014 Service Pack 3 for x64-based Systems (CU 4)KB5029185Security Update12.0.6449.1Maybe
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR)KB5029186Security Update13.0.6435.1Maybe
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature PackKB5029187Security Update13.0.7029.3Maybe
Microsoft SQL Server 2017 for x64-based Systems (CU 31)KB5029376Security Update14.0.3465.1Maybe
Microsoft SQL Server 2022 for x64-based Systems (GDR)KB5029379Security Update16.0.1105.1Maybe
Microsoft OLE DB Driver 19 for SQL ServerRelease NotesSecurity Update19.3.0002.0Maybe
Microsoft OLE DB Driver 18 for SQL ServerRelease NotesSecurity Update18.6.0007.0Maybe
Microsoft ODBC Driver 17 for SQL Server on WindowsRelease NotesSecurity Update17.10.5.1Maybe
Microsoft ODBC Driver 17 for SQL Server on LinuxRelease NotesSecurity Update17.10.5.1Maybe
Microsoft ODBC Driver 17 for SQL Server on MacOSRelease NotesSecurity Update17.10.5.1Maybe
Microsoft ODBC Driver 18 for SQL Server on WindowsRelease NotesSecurity Update18.3.2.1Maybe
Microsoft ODBC Driver 18 for SQL Server on Linux
Microsoft ODBC Driver 18 for SQL Server on MacOS

Security updates (10)

NIST NVD data

NVD status
Modified
NVD CVSS
5.5 (MEDIUM)
NVD weakness
CWE-125
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
odbc driver for sql serverfrom 17.0, before 17.10.5.1
odbc driver for sql serverfrom 17.0, before 17.10.5.1
odbc driver for sql serverfrom 17.0, before 17.10.5.1
odbc driver for sql serverfrom 18.0, before 18.3.2.1
odbc driver for sql serverfrom 18.0, before 18.3.2.1
odbc driver for sql serverfrom 18.0, before 18.3.2.1
ole db driver for sql serverfrom 18.0, before 18.6.0007.0
ole db driver for sql serverfrom 19.0, before 19.3.0002.0
sql server 2014all listed versions
sql server 2016 (x64)all listed versions
sql server 2017 (x64)all listed versions
sql server 2019 (x64)all listed versions
sql server 2022 (x64)all listed versions

References

Acknowledgments

Revision history

VersionDateDescription
1.0Information published.
1.1Updated FAQ information. This is an informational change only.
1.2Updated links to security updates. This is an informational change only.

Sources