r/SQLServer • u/agiamba • May 21 '24
.NET framework patch last week breaks SQL Server CLR decryption/encryption
This is very niche, but Microsoft released two .NET framework updates last week that breaks some CLR functionality, including some encryption methods:
https://support.microsoft.com/en-au/topic/may-14-2024-kb5037932-cumulative-update-for-net-framework-3-5-and-4-7-2-for-windows-10-version-1809-and-windows-server-2019-4085915c-1ba7-4306-9a63-2267537bf586
I work for a software product company, and it broke website functionality for some clients with SSO. Uninstalling it and replacing it with the patch released today resolved the issue. Hoping this saves someone a lot of aggravation.
2
u/Over_Woodpecker_3081 Jun 06 '24
There's a feedback item logged in the MS Visual Studio developer .NET community here: May 14 2024 Cumulative Update for .NET Framework 4.8.x breaks SQLCLR hosted SHA2 hash functions - Developer Community (visualstudio.com) for this issue.
1
u/agiamba Jun 08 '24
Any luck?
2
u/Over_Woodpecker_3081 Jun 11 '24
No response from a human yet. Go ahead and vote this item up there, maybe it will help get some attention.
1
u/Over_Woodpecker_3081 Jun 19 '24 edited Jun 19 '24
No-one seems to have upvoted the VS Developer feedback item linked above - please go and do that so it gets some attention.
Just to be clear - upvote the item here: https://developercommunity.visualstudio.com/t/May-14-2024-Cumulative-Update-for-NET-F/10677307, not my comment in this Reddit thread. So far there are zero upvotes on that feedback item.
1
u/Over_Woodpecker_3081 Jul 02 '24
Still no upvotes on the feedback item - if you want this to get any attention please upvote it. It's the up arrow on the *top left* of the linked article, not the vote buttons in the comments below the article.
2
u/Longjumping_One_2308 Jun 03 '24
Having this same issue with Windows 2022 and SQL Server 2019. KB5038282 was applied and broke encryption in CLR. Windows update does not recommend any other update
1
Jun 01 '24
[removed] — view removed comment
1
u/IHiJump Jun 14 '24
I am, and the .NET update broke that. CRL uses fn_HashBytes.
1
Jun 14 '24
[removed] — view removed comment
1
2
u/Empiricist_or_not May 22 '24
Which patch is "the patch released today [that] resolved the issue"?