Code Injection in Microsoft .NET Core and Visual Studio - CVE-2022-24512
Published: March 8, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in .NET and Visual Studio. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Visual Studio
rh-dotnet31-dotnet (Red Hat package)
rh-dotnet50-dotnet (Red Hat package)
dotnet5.0 (Red Hat package)
rh-dotnet60-dotnet (Red Hat package)
dotnet6.0 (Red Hat package)
aspnetcore-targeting-pack-3.1
aspnetcore-runtime-3.1
dotnet-apphost-pack-3.1
dotnet-hostfxr-3.1
dotnet-runtime-3.1
dotnet-targeting-pack-3.1
dotnet3.1 (Red Hat package)
dotnet3.1
dotnet-templates-3.1
dotnet-sdk-3.1-source-built-artifacts
dotnet-sdk-3.1
dotnet-hostfxr-5.0
dotnet-apphost-pack-5.0
aspnetcore-targeting-pack-5.0
aspnetcore-runtime-5.0
dotnet-runtime-5.0
dotnet-targeting-pack-5.0
dotnet-sdk-5.0
dotnet-templates-5.0
dotnet-targeting-pack-6.0
dotnet-runtime-6.0
dotnet-hostfxr-6.0
dotnet-host
dotnet-apphost-pack-6.0
dotnet6.0
netstandard-targeting-pack-2.1
dotnet-templates-6.0
dotnet-sdk-6.0
dotnet
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Fedora
IBM Robotic Process Automation
How to mitigate CVE-2022-24512
rh-dotnet50-dotnet (Red Hat package) - update to 5.0.212-1.el7_9
dotnet5.0 (Red Hat package) - update to 5.0.212-1.el8_5
rh-dotnet60-dotnet (Red Hat package) - update to 6.0.103-3.el7_9
dotnet6.0 (Red Hat package) - update to 6.0.103-4.el8_5
IBM Robotic Process Automation - update to 21.0.2.3
aspnetcore-targeting-pack-3.1 - update to 3.1.23-1.0.1
aspnetcore-runtime-3.1 - update to 3.1.23-1.0.1
dotnet-apphost-pack-3.1 - update to 3.1.23-1.0.1
dotnet-hostfxr-3.1 - update to 3.1.23-1.0.1
dotnet-runtime-3.1 - update to 3.1.23-1.0.1
dotnet-targeting-pack-3.1 - update to 3.1.23-1.0.1
dotnet3.1 (Red Hat package) - update to 3.1.417-1.el8_5
dotnet3.1 - addressed in versions 3.1.417-1.fc34, 3.1.417-1.fc35, 3.1.417-1.fc36
dotnet-templates-3.1 - update to 3.1.417-1.0.1
dotnet-sdk-3.1-source-built-artifacts - update to 3.1.417-1.0.1
dotnet-sdk-3.1 - update to 3.1.417-1.0.1
dotnet-hostfxr-5.0 - update to 5.0.15-1.0.1
dotnet-apphost-pack-5.0 - update to 5.0.15-1.0.1
aspnetcore-targeting-pack-5.0 - update to 5.0.15-1.0.1
aspnetcore-runtime-5.0 - update to 5.0.15-1.0.1
dotnet-runtime-5.0 - update to 5.0.15-1.0.1
dotnet-targeting-pack-5.0 - update to 5.0.15-1.0.1
dotnet-sdk-5.0 - update to 5.0.212-1.0.1
dotnet-templates-5.0 - update to 5.0.212-1.0.1
dotnet-targeting-pack-6.0 - update to 6.0.3-4.0.1
dotnet-runtime-6.0 - update to 6.0.3-4.0.1
dotnet-hostfxr-6.0 - update to 6.0.3-4.0.1
dotnet-host - update to 6.0.3-4.0.1
dotnet-apphost-pack-6.0 - update to 6.0.3-4.0.1
dotnet6.0 - addressed in versions 6.0.103-1.fc34, 6.0.103-1.fc35, 6.0.103-1.fc36
netstandard-targeting-pack-2.1 - update to 6.0.103-4.0.1
dotnet-templates-6.0 - update to 6.0.103-4.0.1
dotnet-sdk-6.0 - update to 6.0.103-4.0.1
dotnet - update to 6.0.103-4.0.1
External References
Related Security Bulletins
- Multiple vulnerabilities in Microsoft .NET and Visual Studio
- Red Hat Enterprise Linux 8 update for .NET 6.0
- Red Hat Enterprise Linux 8 update for .NET Core 3.1
- Red Hat Enterprise Linux 7 update for .NET 5.0
- Red Hat Enterprise Linux 7 update for .NET Core 3.1
- Red Hat Enterprise Linux 8 update for .NET 5.0
- .NET on Red Hat Enterprise Linux 7 update for .NET 6.0
- Multiple vulnerabilities in IBM Robotic Process Automation for Cloud Pak
- Fedora 36 update for dotnet6.0
- Fedora 35 update for dotnet6.0
- Fedora 34 update for dotnet6.0
- Fedora 36 update for dotnet3.1
- Fedora 35 update for dotnet3.1
- Fedora 34 update for dotnet3.1
- Anolis OS update for dotnet6.0
- Anolis OS update for dotnet3.1
- Anolis OS update for dotnet5.0