Input validation error in Microsoft .NET Core and Visual Studio - CVE-2021-31957

 

Input validation error in Microsoft .NET Core and Visual Studio - CVE-2021-31957

Published: June 8, 2021


Vulnerability identifier: #VU53881
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-31957
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in .NET Core and Visual Studio. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

Microsoft .NET Core
Visual Studio
Arch Linux
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Fedora
rh-dotnet31-dotnet (Red Hat package)
dotnet3.1 (Red Hat package)
rh-dotnet50-dotnet (Red Hat package)
dotnet5.0 (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
dotnet-targeting-pack-3.1
dotnet-runtime-3.1
dotnet-hostfxr-3.1
dotnet-apphost-pack-3.1
aspnetcore-targeting-pack-3.1
aspnetcore-runtime-3.1
dotnet3.1
dotnet-templates-3.1
dotnet-sdk-3.1
dotnet-targeting-pack-5.0
dotnet-runtime-5.0
dotnet-hostfxr-5.0
dotnet-apphost-pack-5.0
dotnet5.0
dotnet-sdk-5.0
dotnet-sdk-5.0-source-built-artifacts
dotnet-templates-5.0
Solutions Enabler
Unisphere for PowerMax
Unisphere for PowerMax Virtual Appliance
Solutions Enabler Virtual Appliance

How to mitigate CVE-2021-31957

Install updates from vendor's website.

rh-dotnet31-dotnet (Red Hat package) - update to 3.1.116-1.el7_9
dotnet3.1 (Red Hat package) - update to 3.1.116-1.el8_4
rh-dotnet50-dotnet (Red Hat package) - update to 5.0.204-1.el7_9
dotnet5.0 (Red Hat package) - update to 5.0.204-1.el8_4
dotnet-targeting-pack-3.1 - update to 3.1.22-3.0.1
dotnet-runtime-3.1 - update to 3.1.22-3.0.1
dotnet-hostfxr-3.1 - update to 3.1.22-3.0.1
dotnet-apphost-pack-3.1 - update to 3.1.22-3.0.1
aspnetcore-targeting-pack-3.1 - update to 3.1.22-3.0.1
aspnetcore-runtime-3.1 - update to 3.1.22-3.0.1
dotnet3.1 - addressed in versions 3.1.116-1.fc33, 3.1.116-1.fc34
dotnet-templates-3.1 - update to 3.1.416-3.0.1
dotnet-sdk-3.1 - update to 3.1.416-3.0.1
dotnet-targeting-pack-5.0 - update to 5.0.14-1.0.1
dotnet-runtime-5.0 - update to 5.0.14-1.0.1
dotnet-hostfxr-5.0 - update to 5.0.14-1.0.1
dotnet-apphost-pack-5.0 - update to 5.0.14-1.0.1
dotnet5.0 - addressed in versions 5.0.204-1.fc33, 5.0.204-1.fc34
dotnet-sdk-5.0 - update to 5.0.211-1.0.1
dotnet-sdk-5.0-source-built-artifacts - update to 5.0.211-1.0.1
dotnet-templates-5.0 - update to 5.0.211-1.0.1
Solutions Enabler - addressed in versions 9.1.0.17, 9.2.2.0
Solutions Enabler Virtual Appliance - addressed in versions 9.1.0.17, 9.2.2.0
Unisphere for PowerMax - addressed in versions 9.1.0.28, 9.2.2.2
Unisphere for PowerMax Virtual Appliance - addressed in versions 9.1.0.28, 9.2.2.2

External References

Related Security Bulletins