Today, we are republishing the July 2020 Security Only Updates for .NET Framework to resolve a known issue that affected the original release. You should install this version (V2) of the update as part of your normal security routine.
CVE-2020-1147– .NET Framework Remote Code Execution Vulnerability
A remote code execution vulnerability exists in .NET Framework when the software fails to check the source markup of XML file input. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the process responsible for deserialization of the XML content. To exploit this vulnerability, an attacker could upload a specially crafted document to a server utilizing an affected product to process content. The security update addresses the vulnerability by correcting how .NET Framework validates the source markup of XML content.
This security update affects how .NET Framework’s System.Data.DataTable and System.Data.DataSet types read XML-serialized data. Most .NET Framework applications will not experience any behavioral change after the update is installed. For more information on how the update affects .NET Framework, including examples of scenarios which may be affected, please see the DataTable and DataSet security guidance document.
To learn more about the vulnerabilities, go to the following Common Vulnerabilities and Exposures (CVE).
This release resolves the known issue below.
After you apply this update, some applications experience a TypeInitializationException exception when they try to deserialize System.Data.DataSet or System.Data.DataTable instances from the XML within a SQL CLR stored procedure. The stack trace for this exception appears as follows:
System.TypeInitializationException: The type initializer for ‘Scope’ threw an exception. —> System.IO.FileNotFoundException: Could not load file or assembly ‘System.Drawing, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
at System.Data.TypeLimiter.Scope.IsTypeUnconditionallyAllowed(Type type)
at System.Data.TypeLimiter.Scope.IsAllowedType(Type type)
at System.Data.TypeLimiter.EnsureTypeIsAllowed(Type type, TypeLimiter capturedLimiter)
Install the latest version of this update that was released on October 13th, 2020.
The Security and Quality Rollup is available via Windows Update, Windows Server Update Services, and 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 earlier Windows and Windows Server versions.
|Product Version||Security Only Update|
|Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2||4566468|
|.NET Framework 3.5||Catalog||4565580|
|.NET Framework 4.5.2||Catalog||4565581|
|.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2||Catalog||4565585|
|.NET Framework 4.8||Catalog||4565588|
|Windows Server 2012||4566467|
|.NET Framework 3.5||Catalog||4565577|
|.NET Framework 4.5.2||Catalog||4565582|
|.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2||Catalog||4565584|
|.NET Framework 4.8||Catalog||4565587|
|Windows 7 SP1 and Windows Server 2008 R2 SP1||4566466|
|.NET Framework 3.5.1||Catalog||4565579|
|.NET Framework 4.5.2||Catalog||4565583|
|.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2||Catalog||4565586|
|.NET Framework 4.8||Catalog||4565589|
|Windows Server 2008||4566469|
|.NET Framework 2.0, 3.0||Catalog||4565578|
|.NET Framework 4.5.2||Catalog||4565583|
|.NET Framework 4.6||Catalog||4565586|
The post .NET Framework republishing of July 2020 Security Only Updates appeared first on .NET Blog.