Applies to:
Microsoft .NET Framework 4.8
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
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 at https://go.microsoft.com/fwlink/?linkid=2132227.
To learn more about the vulnerabilities, go to the following Common Vulnerabilities and Exposures (CVE).
Symptoms:
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=4.0.0.0, 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)
Resolution:
Install the latest version of this update that was released on October 13th, 2020.
Before installing this update
Prerequisite:
To apply this update, you must have .NET Framework 4.8 installed.
Install this update
Release Channel | Available | Next Step |
Microsoft Update Catalog | Yes | To get the standalone package for this update, go to the Microsoft Update Catalog website. |
Windows Server Update Services (WSUS) | Yes | This update will automatically sync with WSUS if you configure Products and Classifications as follows: Product:Windows Server 2012 Classification: Security Updates |
To apply this update, you must have .NET Framework 4.8 installed.
You must restart the computer after you apply this update if any affected files are being used. We recommend that you exit all .NET Framework-based applications before you apply this update.
For deployment details for this security update, go to the following article in the Microsoft Knowledge Base:
20200714 Security update deployment information: July 14, 2020
Note We do not recommend that you remove any security update. To remove this update, use the Programs and Features item in Control Panel.
This update does not require a system restart after you apply it unless files that are being updated are locked or are being used.
File name | SHA1 hash | SHA256 hash |
---|---|---|
Windows8-RT-KB4565587-x64-NDP48.msu | 6C5F12F3AE6518135DAE12AB026AD31201F0CDF1 | A1B0C444F86C5F5D48CAA6B79A987A1A5D6919AC56E0756E81B174B6ABFBD036 |
The MANIFEST files (.manifest) and MUM files (.mum) that are installed are not listed.
File name | File version | File size | Date | Time | Platform |
System.configuration.dll | 4.8.4190.0 | 421,536 | 05-Jun-2020 | 05:04 | x86 |
System.data.dll | 4.8.4190.0 | 3,549,488 | 05-Jun-2020 | 04:59 | x64 |
System.configuration.dll | 4.8.4190.0 | 421,536 | 05-Jun-2020 | 05:04 | x86 |
System.data.dll | 4.8.4190.0 | 3,482,408 | 05-Jun-2020 | 05:04 | x86 |
Keywords: Vulnerabilities/exploits/security bulletins, kbContentAuto, kbSupportTopic, atdownload, kbexpertiseinter, kbfix, kblangall, kbmustloc, kbsecbulletin, kbsecreview, kbsecurity, kbsecvulnerability, kbsurveynew, kb, kbbug