cve.bz

CVE-2024-21409 microsoft: Use After Free

7.3 highEPSS 2.5%Fix available

High (7.3) in microsoft. EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in Microsoft.WindowsDesktop.App.Runtime.win-arm64 6.0.29, 7.0.18, 8.0.4.

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

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th 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-04-25. 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

Ask an AI about this CVE

Show the promptExplain CVE-2024-21409 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21409?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21409?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-21409 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 Visual Studio 2022 version 17.9from 17.0 before 17.9.6
Microsoft Visual Studio 2022 version 17.4from 17.4.0 before 17.4.18
Microsoft Visual Studio 2022 version 17.6from 17.6.0 before 17.6.14
Microsoft Visual Studio 2022 version 17.8from 17.8.0 before 17.8.9
Microsoft PowerShell 7.3from 7.3.0 before 7.3.12
Microsoft PowerShell 7.4from 7.4.0 before 7.4.2
Microsoft PowerShell 7.2from 7.2.0 before 7.2.19
Microsoft .NET 6.0from 6.0.0 before 6.0.29
Microsoft .NET 7.0from 7.0.0 before 7.0.18
Microsoft .NET 8.0from 8.0 before 8.0.4
Microsoft .NET Framework 4.8from 4.8.0 before 4.8.4718.0
Microsoft .NET Framework 3.5 AND 4.8from 4.8.0 before 4.8.4718.0
Microsoft .NET Framework 3.5 AND 4.7.2from 4.7.0 before 4.7.4092.0
Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2from 4.7.0 before 4.7.4092.0
Microsoft .NET Framework 3.5 AND 4.8.1from 4.8.1 before 4.8.9236.0
Microsoft .NET Framework 4.6.2from 4.7.0 before 4.7.4092.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64<6.0.296.0.29
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64>=8.0.0 <8.0.48.0.4
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64>=7.0.0 <7.0.187.0.18
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64<6.0.296.0.29
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64>=8.0.0 <8.0.48.0.4
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64>=7.0.0 <7.0.187.0.18
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86>=7.0.0 <7.0.187.0.18
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86>=8.0.0 <8.0.48.0.4
GHSA-6qmx-42h2-j8h6NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86<6.0.296.0.29

Linux distributions

DistributionReleasePackageFixed inAdvisory
Alpinev3.19dotnet7-build7.0.118-r0ALPINE-CVE-2024-21409
Alpinev3.19dotnet7-runtime7.0.18-r0ALPINE-CVE-2024-21409
Alpinev3.19, v3.20dotnet6-build6.0.129-r0ALPINE-CVE-2024-21409
Alpinev3.19, v3.20dotnet6-runtime6.0.29-r0ALPINE-CVE-2024-21409
Alpinev3.20, v3.21, v3.22 and 2 moredotnet8-runtime8.0.4-r0ALPINE-CVE-2024-21409
Alpaquitastreamdotnet6-build6.0.129-r0BELL-CVE-2024-21409
Alpaquitastreamdotnet6-runtime6.0.29-r0BELL-CVE-2024-21409

From the distributions' data via OSV.dev: the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects Windows systems only. Therefore, Red Hat Enterprise Linux is not affected by this vulnerability.

ProductPackageStateAdvisory
.NET 6.0 on Red Hat Enterprise Linuxrh-dotnet60-dotnetNot affected
Red Hat Enterprise Linux 10dotnet8.0Not affected
Red Hat Enterprise Linux 8dotnet6.0Not affected
Red Hat Enterprise Linux 8dotnet7.0Not affected
Red Hat Enterprise Linux 8dotnet8.0Not affected
Red Hat Enterprise Linux 9dotnet6.0Not affected
Red Hat Enterprise Linux 9dotnet7.0Not affected
Red Hat Enterprise Linux 9dotnet8.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-21409.

References

Check your stackJSON