.NET Framework February Security and Quality Rollup
source link: https://devblogs.microsoft.com/dotnet/net-framework-february-security-and-quality-rollup/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
.NET Framework February Security and Quality Rollup
February 9th, 2021
Today, we are releasing the February 2021 Security and Quality Rollup Updates for .NET Framework.
Security
CVE-2021-24111– .NET Framework Denial of Service Vulnerability
This security update addresses a denial of service vulnerability in .NET Framework. For more information please see CVE-2021-24111.
Quality and Reliability
This release contains the following quality and reliability improvements.
ASP.NET
- Addresses an issue where after installing the update released on October 20th, some ASP.Net applications fail during precompilation – likely with a message that contains the words “Error ASPCONFIG.”
CLR1
- Improves the reliability of automatic Native Image generation task.
WPF2
- Addresses a hang when scrolling to the end of a TreeView, when layout rounding is enabled and DPI scaling is not 100%.
1 Common Language Runtime (CLR)
2 Windows Presentation Foundation (WPF)
Known issues in this update
Exception Info: System.NullReferenceException at System.Windows.Interop.HwndMouseInputProvider.HasCustomChrome(System.Windows.Interop.HwndSource, RECT ByRef) at System.Windows.Interop.HwndMouseInputProvider.GetEffectiveClientRect(IntPtr) at System.Windows.Interop.HwndMouseInputProvider.PossiblyDeactivate(IntPtr, Boolean) at System.Windows.Interop.HwndMouseInputProvider.Dispose()
This occurs when disposing an HwndSource whose RootVisual is null, a situation that arises in Visual Studio when docking or splitting windows, and could arise in other apps.
WorkaroundTo work around this problem, set two AppContext switches using one of the methods described in AppContext Class (System) under the heading “AppContext for library consumers”. The switches are namedSwitch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix and
Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix
and both should be set to “true”. The first switch avoids the crash, but re-introduces the bug fixed in the KBs. The second switch is currently ignored, but will be recognized in a future .NET update that contains a fix for the null-reference crash; it restores the original bug fix.
For example, using the app.config file method to apply the workaround at application scope:
<AppContextSwitchOverrides value="Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true; Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true " />
Getting the Update
The Security and Quality Rollup is available via Windows Update, Windows Server Update Services, and Microsoft Update Catalog. The Security Only Update is available via Windows Server Update Services and Microsoft Update Catalog.
Microsoft Update Catalog
You can get the update via the Microsoft Update Catalog. For Windows 10, NET Framework 4.8 updates are available via Windows Update, Windows Server Update Services, Microsoft Update Catalog. Updates for other versions of .NET Framework are part of the Windows 10 Monthly Cumulative Update.
**Note**: Customers that rely on Windows Update and Windows Server Update Services will automatically receive the .NET Framework version-specific updates. Advanced system administrators can also take use of the below direct Microsoft Update Catalog download links to .NET Framework-specific updates. Before applying these updates, please ensure that you carefully review the .NET Framework version applicability, to ensure that you only install updates on systems where they apply.
The following table is for Windows 10 and Windows Server 2016+ versions.
The following table is for earlier Windows and Windows Server versions.
Previous Monthly Rollups
The last few .NET Framework Monthly updates are listed below for your convenience:
Tara Overfield
Software Engineer II , .NET Servicing
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK