Input validation error in .NET and Visual Studio - CVE-2024-21404

 

Input validation error in .NET and Visual Studio - CVE-2024-21404

Published: February 13, 2024


Vulnerability identifier: #VU86423
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-21404
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 the .NET. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

.NET
Visual Studio
Amazon Linux AMI
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
dotnet-targeting-pack-6.0
aspnetcore-runtime-6.0
aspnetcore-targeting-pack-6.0
dotnet-runtime-6.0
dotnet-hostfxr-6.0
dotnet-host
dotnet-apphost-pack-6.0
dotnet6 (Ubuntu package)
dotnet-sdk-6.0 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-hostfxr-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet6.0
rh-dotnet60-dotnet (Red Hat package)
dotnet6.0 (Red Hat package)
dotnet-templates-6.0
dotnet-sdk-6.0-source-built-artifacts
dotnet-sdk-6.0
dotnet
netstandard-targeting-pack-2.1
dotnet7 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
aspnetcore-runtime-7.0 (Ubuntu package)
dotnet-host-7.0 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
dotnet7.0 (Red Hat package)
dotnet-hostfxr-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)

How to mitigate CVE-2024-21404

Install updates from vendor's website.

dotnet-targeting-pack-6.0 - update to 6.0.27-1.0.1
aspnetcore-runtime-6.0 - update to 6.0.27-1.0.1
aspnetcore-targeting-pack-6.0 - update to 6.0.27-1.0.1
dotnet-runtime-6.0 - update to 6.0.27-1.0.1
dotnet-hostfxr-6.0 - update to 6.0.27-1.0.1
dotnet-host - update to 6.0.27-1.0.1
dotnet-apphost-pack-6.0 - update to 6.0.27-1.0.1
dotnet6 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet-sdk-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
aspnetcore-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet-hostfxr-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet-host (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet6.0 - update to 6.0.127-1
rh-dotnet60-dotnet (Red Hat package) - update to 6.0.127-1.el7_9
dotnet6.0 (Red Hat package) - addressed in versions 6.0.127-1.el8_6, 6.0.127-1.el8_8, 6.0.127-1.el8_9, 6.0.127-1.el9_0, 6.0.127-1.el9_2.1, 6.0.127-1.el9_3
dotnet-templates-6.0 - update to 6.0.127-1.0.1
dotnet-sdk-6.0-source-built-artifacts - update to 6.0.127-1.0.1
dotnet-sdk-6.0 - update to 6.0.127-1.0.1
dotnet - update to 6.0.127-1.0.1
netstandard-targeting-pack-2.1 - update to 6.0.127-1.0.1
dotnet7 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet-sdk-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet-host-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet-hostfxr-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet7.0 (Red Hat package) - addressed in versions 7.0.116-1.el8_8, 7.0.116-1.el8_9, 7.0.116-1.el9_2, 7.0.116-1.el9_3
dotnet-hostfxr-8.0 (Ubuntu package) - addressed in versions 8.0.2-0ubuntu1~22.04.1, 8.0.2-0ubuntu1~23.10.1
dotnet-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.2-0ubuntu1~22.04.1, 8.0.2-0ubuntu1~23.10.1
dotnet-host-8.0 (Ubuntu package) - addressed in versions 8.0.2-0ubuntu1~22.04.1, 8.0.2-0ubuntu1~23.10.1
aspnetcore-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.2-0ubuntu1~22.04.1, 8.0.2-0ubuntu1~23.10.1
dotnet-sdk-8.0 (Ubuntu package) - addressed in versions 8.0.102-0ubuntu1~22.04.1, 8.0.102-0ubuntu1~23.10.1
dotnet8.0 (Red Hat package) - addressed in versions 8.0.102-2.el8_9, 8.0.102-2.el9_3
dotnet8 (Ubuntu package) - addressed in versions 8.0.102-8.0.2-0ubuntu1~22.04.1, 8.0.102-8.0.2-0ubuntu1~23.10.1

External References

Related Security Bulletins