# Microsoft Security Advisory CVE-2024-38229 | .NET Remote Code Execution Vulnerability

Advisory record · `GHSA-7vw9-cfwx-9gx9`

- **Identifiers:** `GHSA-7vw9-cfwx-9gx9` · `BIT-dotnet-2024-38229` · `BIT-dotnet-sdk-2024-38229` · `CVE-2024-38229`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-362](https://cwe.mitre.org/data/definitions/362.html) · [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Race condition](https://agentprime.io/advisories/tag/race-condition.md) · [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Published:** 8 Oct 2024
- **Updated:** 6 May 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Oct 2024, 17:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `Microsoft.AspNetCore.App.Runtime.linux-arm` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.linux-arm64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.linux-musl-arm` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.linux-musl-arm64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.linux-musl-x64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.linux-x64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.osx-arm64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.osx-x64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.win-arm` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.win-arm64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.win-x64` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`
- `Microsoft.AspNetCore.App.Runtime.win-x86` (NuGet): affected `>=9.0.0-preview.1.24081.5, <9.0.0-rc.2.24474.3 || >=8.0.0, <8.0.10`; fixed in `9.0.0-rc.2.24474.3`, `8.0.10`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Microsoft.AspNetCore.App.Runtime packages for .NET 8.0 before 8.0.10 and for 9.0 preview builds before 9.0.0-rc.2.24474.3 are affected, including the linux, osx, and win runtime variants. A use-after-free caused by a race condition occurs when an HTTP/3 stream is closed while application code is writing to the response body, and the source does not describe what an attacker can achieve beyond remote code execution. HTTP/3 is not enabled by default. Upgrade to 8.0.10 or 9.0.0-rc.2.24474.3.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`, from CNA (microsoft)

- **CISA KEV:** Not listed.
- **EPSS:** 0.021, the 81st percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 8 Oct 2024, 17:23 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/dotnet/aspnetcore/security/advisories/GHSA-7vw9-cfwx-9gx9)
- 31 Oct 2026, 15:22 UTC: First seen by agentprime
- 31 Oct 2026, 15:22 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7vw9-cfwx-9gx9)

## Sources

- [GitHub Advisory Database: GHSA-7vw9-cfwx-9gx9](https://github.com/advisories/GHSA-7vw9-cfwx-9gx9)
- [OSV: GHSA-7vw9-cfwx-9gx9](https://osv.dev/vulnerability/GHSA-7vw9-cfwx-9gx9)
- <https://github.com/dotnet/aspnetcore/security/advisories/GHSA-7vw9-cfwx-9gx9>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38229>
- <https://github.com/dotnet/announcements/issues/326>
- <https://github.com/dotnet/aspnetcore/issues/58297>
- <https://github.com/dotnet/aspnetcore>
- <https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0#configure-http-protocols-in-appsettingsjson>
- <https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/http3?view=aspnetcore-8.0#getting-started>
- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38229>
- <https://www.herodevs.com/vulnerability-directory/cve-2024-38229>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7vw9-cfwx-9gx9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7vw9-cfwx-9gx9/>. Everything for agents: <https://agentprime.io/llms.txt>.
