Vulnerability · Published May 14, 2024 · Assigned by microsoft

CVE-2024-30045.NET and Visual Studio Remote Code Execution Vulnerability

Medium 6.3

In plain English

A medium-severity heap buffer overflow in Microsoft Visual Studio 2022 version 17.4 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.2%top 30.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

.NET and Visual Studio Remote Code Execution Vulnerability

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aspnetcore-runtime-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9aspnetcore-runtime-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8aspnetcore-runtime-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9aspnetcore-runtime-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8aspnetcore-runtime-dbg-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9aspnetcore-runtime-dbg-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8aspnetcore-targeting-pack-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9aspnetcore-targeting-pack-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8aspnetcore-targeting-pack-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9aspnetcore-targeting-pack-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet8.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:8dotnet-apphost-pack-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-apphost-pack-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-apphost-pack-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-apphost-pack-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-host8.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-host8.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-hostfxr-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-hostfxr-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-hostfxr-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-hostfxr-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-runtime-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-runtime-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-runtime-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-runtime-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-runtime-dbg-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-runtime-dbg-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-sdk-7.07.0.119-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-sdk-7.07.0.119-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-sdk-7.0-source-built-artifacts7.0.119-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-sdk-7.0-source-built-artifacts7.0.119-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-sdk-8.08.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-sdk-8.08.0.105-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-sdk-8.0-source-built-artifacts8.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-sdk-8.0-source-built-artifacts8.0.105-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-sdk-dbg-8.08.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-sdk-dbg-8.08.0.105-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-targeting-pack-7.07.0.19-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-targeting-pack-7.07.0.19-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-targeting-pack-8.08.0.5-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-targeting-pack-8.08.0.5-1.el9_4ALSA-2024:2842
AlmaLinux:8dotnet-templates-7.07.0.119-1.el8_10ALSA-2024:3340
AlmaLinux:9dotnet-templates-7.07.0.119-1.el9_4ALSA-2024:2843
AlmaLinux:8dotnet-templates-8.08.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:9dotnet-templates-8.08.0.105-1.el9_4ALSA-2024:2842
AlmaLinux:8netstandard-targeting-pack-2.18.0.105-1.el8_10ALSA-2024:3345
AlmaLinux:9netstandard-targeting-pack-2.18.0.105-1.el9_4ALSA-2024:2842
Alpine:v3.20dotnet8-runtime8.0.5-r0ALPINE-CVE-2024-30045
Alpine:v3.21dotnet8-runtime8.0.5-r0ALPINE-CVE-2024-30045
Alpine:v3.22dotnet8-runtime8.0.5-r0ALPINE-CVE-2024-30045
Alpine:v3.23dotnet8-runtime8.0.5-r0ALPINE-CVE-2024-30045
Alpine:v3.24dotnet8-runtime8.0.5-r0ALPINE-CVE-2024-30045
NuGetmicrosoft.netcore.app.runtime.linux-arm8.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-arm7.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-arm647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-arm648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm8.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm7.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-arm648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-x647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-musl-x648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-x648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.linux-x647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.osx-arm647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.osx-arm648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.osx-x648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.osx-x647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-arm7.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-arm8.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-arm648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-arm647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-x647.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-x648.0.5GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-x867.0.19GHSA-7fcr-8qw6-92fr
NuGetmicrosoft.netcore.app.runtime.win-x868.0.5GHSA-7fcr-8qw6-92fr
Rocky Linux:8dotnet7.00:7.0.119-1.el8_10RLSA-2024:3340
Rocky Linux:9dotnet7.00:7.0.119-1.el9_4RLSA-2024:2843
Rocky Linux:8dotnet8.00:8.0.105-1.el8_10RLSA-2024:3345
Rocky Linux:9dotnet8.00:8.0.105-1.el9_4RLSA-2024:2842
Ubuntu:22.04:LTSdotnet77.0.119-0ubuntu1~22.04.1USN-6773-1
Ubuntu:22.04:LTSdotnet77.0.119-0ubuntu1~22.04.1UBUNTU-CVE-2024-30045
Ubuntu:22.04:LTSdotnet88.0.105-8.0.5-0ubuntu1~22.04.1USN-6773-1
Ubuntu:22.04:LTSdotnet88.0.105-8.0.5-0ubuntu1~22.04.1UBUNTU-CVE-2024-30045
Ubuntu:24.04:LTSdotnet88.0.105-8.0.5-0ubuntu1~24.04.1USN-6773-1
Ubuntu:24.04:LTSdotnet88.0.105-8.0.5-0ubuntu1~24.04.1UBUNTU-CVE-2024-30045

Affected products (as reported)

VendorProductVersions
Microsoft .NET 8.0 8.0 – before 8.0.5
Microsoft .NET 7.0 7.0.0 – before 7.0.19
Microsoft Microsoft Visual Studio 2022 version 17.9 17.0 – before 17.9.7
Microsoft Microsoft Visual Studio 2022 version 17.4 17.4.0 – before 17.4.19
Microsoft Microsoft Visual Studio 2022 version 17.6 17.6.0 – before 17.6.15
Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.0 – before 17.8.10
Microsoft PowerShell 7.4 7.4.0 – before 7.4.3

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C

References