It is the second week of February and Microsoft has released the second update for .NET Framework this year, .NET Framework 5.0.3. .NET Framework is used to run applications made with Visual Studio 2019 or above.
This update includes both security and non-security updates, therefore it is recommended for the users to update their frameworks to the latest build on priority.
- 1 New features and improvements in .NET Framework 5.0.3
- 2 Supported Operating Systems/Requirements
- 3 Download .NET Framework 5.0.3
- 4 Installing .NET Framework 5.0.2
- 5 Closing words
- 6 Continue Reading:
Let’s dig into what the new update brings to the table.
New features and improvements in .NET Framework 5.0.3
As mentioned earlier, this update includes both security and non-security updates. Let’s see what those are:
Update to .NET Docker images
Although, Microsoft incorporated this change in the last update .NET Framework 5.0.2, they claim that further improvements have been made to .NET Docker samples. Developers can now run the below-shown command to run the latest .NET Framework 5.0 within the containers:
docker run --rm mcr.microsoft.com/dotnet/samples
For this to run, the following repositories have been updated:
- dotnet/sdk: .NET SDK
- dotnet/aspnet: ASP.NET Core Runtime
- dotnet/runtime: .NET Runtime
- dotnet/runtime-deps: .NET Runtime Dependencies
- dotnet/samples: .NET Samples
Updates to Denial of Service and Remote Code Execution vulnerabilities
Microsoft has also released security advisories for CVE-2021-1721 (.NET Core Denial of Service Vulnerability) and CVE-2021-24112 (.NET 5 and .NET Core Remote Code Execution vulnerability). Guidance for developers to protect their applications and remove these vulnerabilities is also included.
According to Microsoft, a Denial of Service vulnerability exists when you are creating an HTTPS web request during X509 certificate chain building. Remote Code Execution vulnerability exists only on macOS or Linux systems when parsing specific types of graphic files.
Supported Operating Systems/Requirements
.NET Framework can’t be installed on all Windows Operating Systems but only a handful of Windows 10 versions are supported. This is because it is only compatible with Visual Studio 2019 16.8 Preview 4 and above. Since the mentioned Visual Studio 2019 is only compatible with the following Operating Systems, the .NET Framework 5.0.3 also only supports the following variants of Windows and Server:
- Windows 10 version 1703 or higher. Editions: Home, Professional, Education, and Enterprise (LTSC and S are not supported)
- Windows Server 2019. Editions: Standard and Datacenter
- Windows Server 2016. Editions: Standard and Datacenter
- Windows 8.1 (with Update KB2919355). Editions: Core, Professional, and Enterprise
- Windows Server 2012 R2 (with Update KB2919355). Editions: Essentials, Standard, Datacenter
- Windows 7 SP1 (with latest Windows Updates) Editions: Home Premium, Professional, Enterprise, Ultimate
Moreover, MSI packages are also available for x86, x64, ARM64, macOS, and Linux systems.
Download .NET Framework 5.0.3
Use the direct download links below to download the .NET Framework 5.0.3 Runtime and SDKs, according to your Operating System and architecture:
Download .NET Framework 5.0.3 runtime for Linux (refer to support page)
Download .NET Framework 5.0.3 SDK for Linux (refer to support page)
More download and install options here.
Installing .NET Framework 5.0.2
Now that you have downloaded the respective installation package, you can begin to install it. The installation of the .NET Framework 5.0.3 is very simple. Download the MSI file from the links provided above and execute it for installation.
Once you have installed it, all your applications will run using the new build as the previous version will be replaced.
- Run the installation package by double-clicking it (in the case of macOS and Windows), and then agreeing to the terms and agreements, and then clicking Install on the installation wizard.
- The installation will now begin. It does not take much time nor does it require a restart. Click Close once it has been installed successfully.
You have now installed the .NET Framework 5.0.3. You may check which .NET version is running by typing in the following command in Command Prompt:
wmic product get description | findstr /C:.NET
We recommend that if you use .NET Framework to develop your applications, you are updated to the latest version right now. Also, read through what Microsoft suggests to mitigate any vulnerabilities that have been highlighted in the “New features and improvements” section above.