cve.bz

CVE-2024-38229 microsoft: Use After Free

8.1 highEPSS 2.1%Fix available

High (8.1) in microsoft. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in Microsoft.AspNetCore.App.Runtime.linux-arm 8.0.10, 9.0.0-rc.2.24474.3.

On this page
.NET and Visual Studio Remote Code Execution Vulnerability

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.linux-musl-arm (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.linux-x64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.osx-arm64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Microsoft.AspNetCore.App.Runtime.osx-x64 (NuGet): fixed in 9.0.0-rc.2.24474.3, 8.0.10
  • Ubuntu, Red Hat, AlmaLinux, Rocky Linux, Alpine: fixed package versions per release
  • Patch: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38229
  • Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38229

Ask an AI about this CVE

Show the promptExplain CVE-2024-38229 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38229?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38229?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38229 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Microsoft .NET 8.0from 8.0.0 before 8.0.10
Microsoft Visual Studio 2022 version 17.10from 17.10 before 17.10.8
Microsoft Visual Studio 2022 version 17.11from 17.11 before 17.11.5
Microsoft Visual Studio 2022 version 17.6from 17.6.0 before 17.6.20
Microsoft Visual Studio 2022 version 17.8from 17.8.0 before 17.8.15

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-arm>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-arm>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-arm64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-arm64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-x64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-x64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-x64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.linux-x64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.osx-arm64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.osx-arm64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.osx-x64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.osx-x64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-arm>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-arm>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-arm64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-arm64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-x64>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-x64>=8.0.0 <8.0.108.0.10
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-x86>=9.0.0-preview.1.24081.5 <9.0.0-rc.2.24474.39.0.0-rc.2.24474.3
GHSA-7vw9-cfwx-9gx9NuGetMicrosoft.AspNetCore.App.Runtime.win-x86>=8.0.0 <8.0.108.0.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSdotnet66.0.135-0ubuntu1~22.04.1USN-7058-1
Ubuntu22.04:LTSdotnet7no fix listedUBUNTU-CVE-2024-38229
Ubuntu22.04:LTSdotnet88.0.110-8.0.10-0ubuntu1~22.04.1UBUNTU-CVE-2024-38229 USN-7058-1
Ubuntu24.04:LTSdotnet88.0.110-8.0.10-0ubuntu1~24.04.1UBUNTU-CVE-2024-38229 USN-7058-1
Red Hatenterprise_linux:8::appstreamdotnet, dotnet8.0, dotnet-sdk-8.0 and 6 more0:8.0.110-1.el8_10RHSA-2024:7868
Red Hatenterprise_linux:8::appstreamdotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 10 more0:8.0.10-1.el8_10RHSA-2024:7868
Red Hatenterprise_linux:8::crbdotnet-host-debuginfo, dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo and 1 more0:8.0.10-1.el8_10RHSA-2024:7868
Red Hatenterprise_linux:8::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.110-1.el8_10RHSA-2024:7868
Red Hatenterprise_linux:9::appstreamdotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 10 more0:8.0.10-1.el9_4RHSA-2024:7869
Red Hatenterprise_linux:9::appstreamdotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 5 more0:8.0.110-1.el9_4RHSA-2024:7869
Red Hatenterprise_linux:9::crbdotnet-host-debuginfo, dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo and 1 more0:8.0.10-1.el9_4RHSA-2024:7869
Red Hatenterprise_linux:9::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.110-1.el9_4RHSA-2024:7869
AlmaLinux8dotnet, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 3 more8.0.110-1.el8_10ALSA-2024:7868
AlmaLinux8dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 6 more8.0.10-1.el8_10ALSA-2024:7868
AlmaLinux9dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 6 more8.0.10-1.el9_4ALSA-2024:7869
AlmaLinux9dotnet-sdk-8.0, dotnet-sdk-dbg-8.0, dotnet-templates-8.0 and 2 more8.0.110-1.el9_4ALSA-2024:7869
Rocky Linux8dotnet8.00:8.0.110-1.el8_10RLSA-2024:7868
Rocky Linux9dotnet8.00:8.0.110-1.el9_4RLSA-2024:7869
Alpinev3.20, v3.21, v3.22 and 2 moredotnet8-runtime8.0.10-r0ALPINE-CVE-2024-38229

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

.NET 8.0 (dotnet8.0) was released for RHEL 8 starting with RHEL 8.9. Therefore, this .NET version is not affected in RHEL 8.8 and previous versions.

.NET 8.0 (dotnet8.0) was released for RHEL 9 starting with RHEL 9.3. Therefore, this .NET version is not affected in RHEL 9.2 and previous versions.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8dotnet8.0-0:8.0.110-1.el8_10Fixed 2024-10-09RHSA-2024:7868
Red Hat Enterprise Linux 9dotnet8.0-0:8.0.110-1.el9_4Fixed 2024-10-09RHSA-2024:7869
Red Hat Enterprise Linux 10dotnet8.0Not affected
Red Hat Enterprise Linux 10dotnet9.0Not affected
Red Hat Enterprise Linux 8dotnet6.0Out of support scope
Red Hat Enterprise Linux 9dotnet6.0Out of support scope
Red Hat Enterprise Linux 9dotnet7.0Out of support scope
Red Hat Enterprise Linux 9dotnet9.0Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38229.

References

Check your stackJSON