Input validation error in .NET and Visual Studio - CVE-2024-21386
Published: February 13, 2024
Vulnerability identifier: #VU86424
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-21386
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
Red Hat CodeReady Linux Builder for x86_64
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 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
Ubuntu
dotnet-targeting-pack-6.0
aspnetcore-runtime-6.0
dotnet-runtime-6.0
aspnetcore-targeting-pack-6.0
dotnet-hostfxr-6.0
dotnet-host
dotnet-apphost-pack-6.0
dotnet-sdk-6.0 (Ubuntu package)
dotnet6 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet-hostfxr-6.0 (Ubuntu package)
dotnet6.0
rh-dotnet60-dotnet (Red Hat package)
dotnet6.0 (Red Hat package)
dotnet
dotnet-sdk-6.0
dotnet-sdk-6.0-source-built-artifacts
dotnet-templates-6.0
netstandard-targeting-pack-2.1
dotnet-host-7.0 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
aspnetcore-runtime-7.0 (Ubuntu package)
dotnet7 (Ubuntu package)
dotnet7.0 (Red Hat package)
dotnet-hostfxr-8.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)
Visual Studio
Amazon Linux AMI
Red Hat CodeReady Linux Builder for x86_64
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 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
Ubuntu
dotnet-targeting-pack-6.0
aspnetcore-runtime-6.0
dotnet-runtime-6.0
aspnetcore-targeting-pack-6.0
dotnet-hostfxr-6.0
dotnet-host
dotnet-apphost-pack-6.0
dotnet-sdk-6.0 (Ubuntu package)
dotnet6 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet-hostfxr-6.0 (Ubuntu package)
dotnet6.0
rh-dotnet60-dotnet (Red Hat package)
dotnet6.0 (Red Hat package)
dotnet
dotnet-sdk-6.0
dotnet-sdk-6.0-source-built-artifacts
dotnet-templates-6.0
netstandard-targeting-pack-2.1
dotnet-host-7.0 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
aspnetcore-runtime-7.0 (Ubuntu package)
dotnet7 (Ubuntu package)
dotnet7.0 (Red Hat package)
dotnet-hostfxr-8.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)
How to mitigate CVE-2024-21386
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
dotnet-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-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
dotnet-sdk-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet6 (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-host (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
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_9, 6.0.127-1.el9_3
dotnet - update to 6.0.127-1.0.1
dotnet-sdk-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-templates-6.0 - update to 6.0.127-1.0.1
netstandard-targeting-pack-2.1 - update to 6.0.127-1.0.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-sdk-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
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet7 (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_9, 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
aspnetcore-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
dotnet-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
aspnetcore-runtime-6.0 - update to 6.0.27-1.0.1
dotnet-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-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
dotnet-sdk-6.0 (Ubuntu package) - addressed in versions 6.0.127-0ubuntu1~22.04.1, 6.0.127-0ubuntu1~23.10.1
dotnet6 (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-host (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
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_9, 6.0.127-1.el9_3
dotnet - update to 6.0.127-1.0.1
dotnet-sdk-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-templates-6.0 - update to 6.0.127-1.0.1
netstandard-targeting-pack-2.1 - update to 6.0.127-1.0.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-sdk-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
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.116-0ubuntu1~22.04.1, 7.0.116-0ubuntu1~23.10.1
dotnet7 (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_9, 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
aspnetcore-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
dotnet-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
- Multiple vulnerabilities in Microsoft .NET
- Red Hat Enterprise Linux 9 update for dotnet7.0
- Red Hat Enterprise Linux 8 update for dotnet7.0
- Red Hat Enterprise Linux 9 update for dotnet6.0
- Red Hat Enterprise Linux 8 update for dotnet6.0
- Ubuntu update for dotnet6
- Red Hat Enterprise Linux 7 update for .NET 6.0
- Red Hat Enterprise Linux 8 update for .NET 8.0
- Red Hat Enterprise Linux 9 update for .NET 8.0
- Amazon Linux AMI update for dotnet6.0
- Anolis OS update for dotnet6.0