You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* CU-update-21-for-SQL-Server-2022
Added the bug details 4254920
* CU-update-21-for-SQL-Server-2022
small fix
* CU-update-21-for-SQL-Server-2022
small fix
* Update cumulativeupdate21.md
* Update cumulativeupdate21.md
* CU-update-21-for-SQL-Server-2022
Amended The bug description
* CU-update-21-for-SQL-Server-2022
updated link
* CU-update-21-for-SQL-Server-2022
updated the link in the description
* CU-update-21-for-SQL-Server-2022
updated casing of link
* Update cumulativeupdate21.md
---------
Co-authored-by: Jerry Sitser <[email protected]>
Copy file name to clipboardExpand all lines: support/sql/releases/sqlserver-2022/cumulativeupdate21.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Cumulative update 21 for SQL Server 2022 (KB5065865)
3
-
description: This article contains the summary, known issues, improvements, fixes, and other information for SQL Server 2022 cumulative update 21 (KB5065865).
2
+
title: Cumulative Update 21 for SQL Server 2022 (KB5065865)
3
+
description: This article contains the summary, known issues, improvements, fixes, and other information for SQL Server 2022 Cumulative Update 21 (KB5065865).
This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Server 2022. This update contains 16[fixes](#improvements-and-fixes-included-in-this-update) that were issued after the release of SQL Server 2022 Cumulative Update 20 and it updates components in the following builds:
20
+
This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Server 2022. This update contains 17[fixes](#improvements-and-fixes-included-in-this-update) that were issued after the release of SQL Server 2022 Cumulative Update 20. It updates components in the following builds:
21
21
22
22
- SQL Server - Product version: **16.0.4215.2**, file version: **2022.160.4215.2**
@@ -30,33 +30,34 @@ This article describes Cumulative Update package 21 (CU21) for Microsoft SQL Ser
30
30
31
31
## Improvements and fixes included in this update
32
32
33
-
A downloadable Excel workbook that contains a summary list of builds, together with their current support lifecycle, is available. The Excel file also contains detailed fix lists for SQL Server 2022, SQL Server 2019, and SQL Server 2017. [Select to download this Excel file now](https://aka.ms/sqlserverbuilds).
33
+
A downloadable Excel workbook that contains a summary list of builds, together with their current support lifecycle, is available. The Excel file also contains detailed fix lists for SQL Server 2022, SQL Server 2019, and SQL Server 2017. [Download this Excel file now](https://aka.ms/sqlserverbuilds).
34
34
35
35
> [!NOTE]
36
36
> Individual entries in the following table can be referenced directly through a bookmark. If you select any bug reference ID in the table, a bookmark tag is added to the URL by using the "#NNNNNNN" format. You can then share this URL with others so that they can jump directly to the desired fix in the table.
37
37
38
-
For more information about the bugs that are fixed and enhancements that are included in this cumulative update, see the following table:
38
+
For more information about the bugs that are fixed and enhancements that are included in this cumulative update, see the following table.
|<aid=4433544>[4433544](#4433544) </a> | Fixes an issue in which running the `TRUNCATE TABLE WITH PARTITIONS` statement on a table with non-aligned partitions succeeds unexpectedly and causes corruption. | SQL Server Engine | DB Management | All|
43
-
|<aid=4145424>[4145424](#4145424) </a> | Fixes an assertion dump issue on the primary replica of an availability group related to the expression "!(uaeUnused != prev && trace->Elements[prev].ThreadId == trace->Elements[curr].ThreadId) \|\| (trace->Elements[prev].Value <= value)."| SQL Server Engine | High Availability and Disaster Recovery | All|
42
+
|<aid=4433544>[4433544](#4433544) </a> | Fixes an issue in which running the `TRUNCATE TABLE WITH PARTITIONS` statement on a table that has nonaligned partitions succeeds unexpectedly and causes corruption. | SQL Server Engine | DB Management | All|
43
+
|<aid=4145424>[4145424](#4145424) </a> | Fixes an assertion dump issue on the primary replica of an availability group that's related to the expression, "!(uaeUnused != prev && trace->Elements[prev].ThreadId == trace->Elements[curr].ThreadId) \|\| (trace->Elements[prev].Value <= value)."| SQL Server Engine | High Availability and Disaster Recovery | All|
44
44
|<aid=4419880>[4419880](#4419880) </a> | Fixes a SQL injection vulnerability in a system stored procedure.| SQL Server Engine | High Availability and Disaster Recovery | All|
45
-
|<aid=4311157>[4311157](#4311157) </a> | Fixes a SQL Server on Linux termination issue that you might encounter when trying to send encrypted TLS/SSL data to a peer after receiving an alert such as `bad_record_mac` from the peer. | SQL Server Engine | Linux | Linux|
45
+
|<aid=4311157>[4311157](#4311157) </a> | Fixes a SQL Server on Linux termination issue that you might encounter when you try to send encrypted TLS/SSL data to a peer after receiving an alert such as `bad_record_mac` from the peer. | SQL Server Engine | Linux | Linux|
46
46
|<aid=4419716>[4419716](#4419716) </a> | Fixes a SQL injection vulnerability in a system stored procedure.| SQL Server Engine | Metadata| All|
47
47
|<aid=4229256>[4229256](#4229256) </a> | Fixes an issue in which DMVs are used in specific scenarios to inspect the text of statements that are running in other sessions and might contain sensitive data. | SQL Server Engine | Programmability | All|
48
-
|<aid=4268984>[4268984](#4268984) </a> | Fixes an access violation dump issue that you encounter in `ACCESS_VIOLATION_c0000005_sqllang.dll!CScaOp_Intrinsic::FConvertToText_Intrinsic` when executing queries that use the TRIM intrinsic.| SQL Server Engine | Programmability | All|
48
+
|<aid=4268984>[4268984](#4268984) </a> | Fixes an access violation dump issue that you encounter in `ACCESS_VIOLATION_c0000005_sqllang.dll!CScaOp_Intrinsic::FConvertToText_Intrinsic` when you run queries that use the TRIM intrinsic.| SQL Server Engine | Programmability | All|
49
49
|<aid=4410919>[4410919](#4410919) </a> | Fixes an issue in which the `TRY_CONVERT` function might cause invalid results when the plan uses the **Clustered Index Seek** operator. | SQL Server Engine | Query Optimizer | All|
50
50
|<aid=4441901>[4441901](#4441901) </a> | Fixes an issue in which the change tracking auto cleanup process blocks the user triggered `ALTER TABLE` column-level DDL (`ADD/DROP/ALTER COLUMN`) operations.| SQL Server Engine | Replication | All|
51
-
|<aid=4524294>[4524294](#4524294) </a> | Fixes an issue in which adding a merge agent fails and throws out the following error when the subscription uses a non-default port: </br></br>Msg 2560, Level 16, State 9, Procedure distribution.sys.sp_MSadd_merge_agent, Line \<LineNumber> [Batch Start Line 3]</br>Parameter 2 is incorrect for this DBCC statement. | SQL Server Engine | Replication | Windows|
52
-
|<aid=4424573>[4424573](#4424573) </a> | Prevents logins with the `ALTER ANY LOGIN` permission from resetting the passwords of logins that have `ALTER ANY LOGIN` or `IMPERSONATE ANY LOGIN` permissions to avoid elevation of privilege. | SQL Server Engine | Security Infrastructure | All|
53
-
|<aid=4520174>[4520174](#4520174) </a> | Fixes an access violation that you encounter when running`sp_describe_first_result_set` on `sys.database_ledger_digest_locations`.| SQL Server Engine | Security Infrastructure | All|
54
-
|<aid=4437734>[4437734](#4437734) </a> | Prevents elevation of privilege by running SQL Agent job steps for built-in jobs with reduced permissions. | SQL Server Engine | SQL Agent | All|
51
+
|<aid=4524294>[4524294](#4524294) </a> | Fixes an issue in which adding a merge agent fails and generates the following error message if the subscription uses a nondefault port: </br></br>Msg 2560, Level 16, State 9, Procedure distribution.sys.sp_MSadd_merge_agent, Line \<LineNumber> [Batch Start Line 3]</br>Parameter 2 is incorrect for this DBCC statement. | SQL Server Engine | Replication | Windows|
52
+
|<aid=4424573>[4424573](#4424573) </a> | Prevents logons that have the `ALTER ANY LOGIN` permission from resetting the passwords of logons that have `ALTER ANY LOGIN` or `IMPERSONATE ANY LOGIN` permissions to avoid elevation of privilege. | SQL Server Engine | Security Infrastructure | All|
53
+
|<aid=4520174>[4520174](#4520174) </a> | Fixes an access violation that you encounter when you run`sp_describe_first_result_set` on `sys.database_ledger_digest_locations`.| SQL Server Engine | Security Infrastructure | All|
54
+
|<aid=4437734>[4437734](#4437734) </a> | Prevents elevation of privilege by running SQL Agent job steps for built-in jobs that have reduced permissions. | SQL Server Engine | SQL Agent | All|
55
55
|<aid=4285469>[4285469](#4285469) </a> | Fixes a vulnerability that lets users who have access to certain stored procedures perform SQL injection and run arbitrary code by using elevated privileges.| SQL Server Engine | SQL Server Engine | All|
56
56
|<aid=4448818>[4448818](#4448818) </a> | Fixes URLs in certain error messages (for example, error 14130 and error 14131). | SQL Server Engine | SQL Server Engine | All|
57
57
|<aid=2693201>[2693201](#2693201) </a> | Fixes an issue in which the log files shrink beyond the specified target size under certain operations when you run the `DBCC SHRINKFILE` command. | SQL Server Engine | Storage Management| All|
58
+
|<aid=4254920>[4254920](#4254920) </a> |Fixes a [known issue](/sql/sql-server/sql-server-2022-release-notes#dbcc-checkdb-command-reports-inconsistency-after-dropping-index) that causes the DBCC CHECKDB command to report an inconsistency after you drop an index or a table that includes an index from a database that originated from Azure SQL Managed Instance. | SQL Server Engine | DB Management | All|
58
59
59
-
## How to obtain or download this or the latest cumulative update package
60
+
## How to obtain or download this (or the latest) cumulative update package
60
61
61
62
<details>
62
63
<summary><b>How to obtain or download the latest cumulative update package for Windows (recommended)</b></summary>
@@ -67,7 +68,7 @@ The following update is available from the Microsoft Download Center:
67
68
68
69
> [!NOTE]
69
70
>
70
-
> - Microsoft Download Center will always offer the latest SQL Server 2022 CU release.
71
+
> - Microsoft Download Center always offers the latest SQL Server 2022 CU release.
71
72
> - If the download page doesn't appear, contact [Microsoft Customer Service and Support](https://support.microsoft.com/contactus/?ws=support) to obtain the cumulative update package.
72
73
73
74
</details>
@@ -83,7 +84,7 @@ The following update is available from the Microsoft Update Catalog:
83
84
>
84
85
> -[Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Search.aspx?q=sql%20server%202022) contains this SQL Server 2022 CU and previously released SQL Server 2022 CU releases.
85
86
> - This CU is also available through Windows Server Update Services (WSUS).
86
-
> - We recommend that you always install the latest cumulative update that is available.
87
+
> - We recommend that you always install the latest cumulative update that's available.
0 commit comments