BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2024
CVE-2024-21409High confidence

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

Microsoft · Microsoft Visual Studio 2022 version 17.9

7.3HighCVSS 3.1
Recommended action
Within 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
R
Operational reassessment

Published severity in operational context

Open reassessment dashboard →
Published severityHighOperational priority:Medium, lowered one band.downgradedsince 3 May 2025

Evidence used

  • No CISA KEV confirmation is currently recorded.
  • Exploitation requires an existing local or physical foothold with privileges.
  • EPSS is 2.51% for the current model date.

Compensating controls

  • Restrict local access and enforce least privilege on affected hosts.
  • Monitor vendor guidance and exploitation sources for a material change.

Verification

  1. Confirm that the asset runs Microsoft Microsoft Visual Studio 2022 version 17.9 and falls inside the recorded affected range.
  2. Recheck the vendor advisory before scheduling a change because no verified fixed version is currently retained.
  3. Validate exposure, authentication requirements and compensating controls in the actual environment.
  4. Reopen this reassessment when CVSS, KEV, EPSS, exploit evidence or remediation changes.
Mitigation target: As exposure requiresRemediation target: Within 365 days

This automated reassessment organises public evidence. It does not know asset exposure, business impact or control effectiveness and does not replace CVSS or a human risk decision.

Distribution package intelligence

Release-specific package status

Alpine findings are scoped to the named distribution, release and source package. An absent finding does not mean a package is unaffected.

3 package states
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Distribution releaseSource packageVendor stateFixed versionEvidence
Alpine v3.23v3.23 · communitydotnet8-runtimeVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.8.0.4-r0Alpine Security Database ↗Source updated 11 Sep 2026
Alpine v3.22v3.22 · communitydotnet8-runtimeVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.8.0.4-r0Alpine Security Database ↗Source updated 11 Sep 2026
Alpine v3.21v3.21 · communitydotnet8-runtimeVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.8.0.4-r0Alpine Security Database ↗Source updated 19 Aug 2026
Open-source package ranges18 source-attributed ranges

These OSV and GitHub advisory ranges apply only to the named package and ecosystem. A listed fixed version is not a universal product patch or proof that an update is installed.

Ecosystem and packageAffected rangeFirst fixed versionEvidence
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64ECOSYSTEM: introduced 0; fixed 6.0.296.0.29OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64ECOSYSTEM: introduced 8.0.0; fixed 8.0.48.0.4OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-arm64ECOSYSTEM: introduced 7.0.0; fixed 7.0.187.0.18OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64ECOSYSTEM: introduced 0; fixed 6.0.296.0.29OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64ECOSYSTEM: introduced 8.0.0; fixed 8.0.48.0.4OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x64ECOSYSTEM: introduced 7.0.0; fixed 7.0.187.0.18OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86ECOSYSTEM: introduced 7.0.0; fixed 7.0.187.0.18OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86ECOSYSTEM: introduced 8.0.0; fixed 8.0.48.0.4OSV record ↗aggregator derived · 4 Sep 2025
NuGetMicrosoft.WindowsDesktop.App.Runtime.win-x86ECOSYSTEM: introduced 0; fixed 6.0.296.0.29OSV record ↗aggregator derived · 4 Sep 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-arm64<= 6.0.286.0.29GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-arm64>= 8.0.0, <= 8.0.38.0.4GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-arm64>= 7.0.0, <= 7.0.177.0.18GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x64<= 6.0.286.0.29GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x64>= 8.0.0, <= 8.0.38.0.4GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x64>= 7.0.0, <= 7.0.177.0.18GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x86>= 7.0.0, <= 7.0.177.0.18GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x86>= 8.0.0, <= 8.0.38.0.4GitHub advisory ↗upstream repository advisory · 17 Jan 2025
nugetMicrosoft.WindowsDesktop.App.Runtime.win-x86<= 6.0.286.0.29GitHub advisory ↗upstream repository advisory · 17 Jan 2025
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2024-1130

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
01

What, why and how

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

What

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

Why

The program can continue using memory after it has been released, producing unsafe and attacker-influenceable behaviour.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.

What

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

Why

The program can continue using memory after it has been released, producing unsafe and attacker-influenceable behaviour.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
None recorded

No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.

Likely attack path
local access → Use After Free → execute code or commands in the affected security context
Attack surface
Local
Privileges required
Low: a basic authenticated account is required
User interaction
Required interaction required
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-416 ↗

CWE-416: Use After Free. The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVLocalAttack vector: The attacker needs local access to the vulnerable system.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRLowPrivileges required: The attacker needs basic user-level privileges.UIRequiredUser interaction: Another user must perform an action for exploitation to succeed.SUnchangedScope: The security impact remains within the vulnerable component's authority.CHighConfidentiality impact: A successful attack can cause a major loss.IHighIntegrity impact: A successful attack can cause a major loss.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
After compromise, an attacker may use built-in shells, scripting engines, scheduled tasks and native network utilities for discovery, persistence or movement. This is a plausible LoTL path, not evidence that it has occurred for every attack.
Remote code executionCWE-416
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-2024-0839Microsoft Developer Tools: Mehrere Schwachstellen ermöglichen Codeausführung

Ein entfernter, anonymer oder lokaler Angreifer kann mehrere Schwachstellen in Microsoft .NET Framework, Microsoft Visual Studio 2019 und Microsoft Visual Studio 2022 ausnutzen, um beliebigen Programmcode auszuführen.

Official advisory ↗
Cyber Security Agency of Singapore · English · CSA-SB-20240410Security Bulletin 10 Apr 2024

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 10 Apr 2024, published on 10 April 2024. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2024-AVI-0290Vulnérabilité dans Microsoft .Net

Une vulnérabilité a été découverte dans Microsoft .Net . Elle permet à un attaquant de provoquer une exécution de code arbitraire à distance.

Official advisory ↗
CERT-FR · French · CERTFR-2024-AVI-0292Multiples vulnérabilités dans les produits Microsoft

n de code arbitraire à distance, une usurpation d'identité et une élévation de privilèges. Solution Se référer au bulletin de sécurité de l'éditeur pour l'obtention des correctifs (cf. section Documentation). Documentation Bulletin de sécurité Microsoft CVE-2024-21322 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21322 Bulletin de sécurité Microsoft CVE-2024-21323 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21323 Bulletin de sécurité Microsoft CVE-2024-21324 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21324 Bulletin de sécurité Microsoft CVE-2024-21409 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21409 Bulletin de sécurité Microsoft CVE-2024-26251 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-26251 Bulletin de sécurité Microsoft CVE-2024-28906 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28906 Bulletin de sécurité Microsoft CVE-2024-28908 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28908 Bulletin de sécurité Microsoft CVE-2024-28909 du 09 avril 2024 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-28909 Bulletin de sécurité Microsoft CVE-

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2024-016184マイクロソフトの複数の Microsoft 製品におけるリモートでコードを実行される脆弱性

マイクロソフトの 複数の Microsoft 製品には、リモートでコードを実行される脆弱性が存在します。

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-6193MS 5월 보안 위협에 따른 정기 보안 업데이트 권고

| 프록시 드라이버 스푸핑 취약성 | | Windows Remote Access Connection Manager | CVE-2024-26217 | Windows 원격 액세스 연결 관리자 정보 유출 취약성 | | Windows Remote Access Connection Manager | CVE-2024-26211 | Windows 원격 액세스 연결 관리자 권한 상승 취약성 | | Windows Remote Access Connection Manager | CVE-2024-26207 | Windows 원격 액세스 연결 관리자 정보 유출 취약성 | | Microsoft Exchange Server | CVE-2024-26198 | Microsoft Exchange Server 원격 코드 실행 취약성 | | Microsoft QUIC | CVE-2024-26190 | Microsoft QUIC 서비스 거부 취약성 | | Windows Secure Boot | CVE-2024-23593 | Lenovo: CVE-2024-23593 부팅 관리자 초기화 및 UEFI 셸로 이동 | | Windows Kerberos | CVE-2024-21427 | Windows Kerberos 보안 기능 바이패스 취약성 | | .NET and Visual Studio | CVE-2024-21409 | .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability | | .NET | CVE-2024-21392 | .NET 및 Visual Studio 서비스 거부 취약성 | | Microsoft Defender for IoT | CVE-2024-21324 | IoT용 Microsoft Defender 권한 상승 취약성 | | Microsoft Defender for IoT | CVE-2024-21323 | IoT용 Microsoft Defender 원격 코드 실행 취약성 | | Microsoft Defender for IoT | CVE-2024-21322 | IoT용 Microsoft Defender 원격 코드 실행 취약성 | | .NET and Visual Studio | CVE-2024-0057 | .NET, .NET Framework, Visual Studio 보안 기능 바이패스 취약성 | | Microsoft Bluetooth Driver | CVE-2023-24948 | Windows Bluetooth 드라이버 권한 상승 취약성 | ##### □ 작성 : 침해사고분석단 취약점분석팀

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-6161MS 4월 보안 위협에 따른 정기 보안 업데이트 권고

m 기반) 보안 기능 우회 취약성 | | Microsoft Install Service | CVE-2024-26158 | Microsoft 설치 서비스 권한 상승 취약성 | | Microsoft Edge (Chromium-based) | CVE-2024-2400 | Chromium: CVE-2024-2400 Performance Manager에서 UaF(Use after free) | | Windows Secure Boot | CVE-2024-23594 | Lenovo: CVE-2024-23594 LenovoBT.efi에서 스택 버퍼 오버플로 | | Windows Secure Boot | CVE-2024-23593 | Lenovo: CVE-2024-23593 부팅 관리자 초기화 및 UEFI 셸로 이동 | | Windows Authentication Methods | CVE-2024-21447 | Windows 인증 권한 상승 취약성 | | Windows Kerberos | CVE-2024-21427 | Windows Kerberos 보안 기능 바이패스 취약성 | | Azure Compute Gallery | CVE-2024-21424 | Azure Compute Gallery 권한 상승 취약성 | | .NET and Visual Studio | CVE-2024-21409 | .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability | | Open Management Infrastructure | CVE-2024-21330 | OMI(Open Management Infrastructure) 권한 상승 취약성 | | Azure Connected Machine Agent | CVE-2024-21329 | Azure Connected Machine 에이전트 권한 상승 취약성 | | Microsoft Defender for IoT | CVE-2024-21324 | IoT용 Microsoft Defender 권한 상승 취약성 | | Microsoft Defender for IoT | CVE-2024-21323 | IoT용 Microsoft Defender 원격 코드 실행 취약성 | | Microsoft Defender for IoT | CVE-2024-21322 | IoT용 Microsoft Defender 원격 코드 실행 취약성 | | Windows Kernel | CVE-2024-20693 | Windows 커널 권한 상승 취약성 | | Windows Secure Boot | CVE-2024-20689 | 보안 부팅 보안 기능 우회 취약성

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Fix not verified
Affected
  • Microsoft Visual Studio 2022 version 17.9: 17.0 < 17.9.6
  • Microsoft Visual Studio 2022 version 17.4: 17.4.0 < 17.4.18
  • Microsoft Visual Studio 2022 version 17.6: 17.6.0 < 17.6.14
  • Microsoft Visual Studio 2022 version 17.8: 17.8.0 < 17.8.9
  • PowerShell 7.3: 7.3.0 < 7.3.12
  • PowerShell 7.4: 7.4.0 < 7.4.2
  • PowerShell 7.2: 7.2.0 < 7.2.19
  • .NET 6.0: 6.0.0 < 6.0.29
  • .NET 7.0: 7.0.0 < 7.0.18
  • .NET 8.0: 8.0 < 8.0.4
  • Microsoft .NET Framework 4.8: 4.8.0 < 4.8.4718.0
  • Microsoft .NET Framework 3.5 AND 4.8: 4.8.0 < 4.8.4718.0
  • Microsoft .NET Framework 3.5 AND 4.7.2: 4.7.0 < 4.7.4092.0
  • Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: 4.7.0 < 4.7.4092.0
  • Microsoft .NET Framework 3.5 AND 4.8.1: 4.8.1 < 4.8.9236.0
  • Microsoft .NET Framework 4.6.2: 4.7.0 < 4.7.4092.0
Fixed
No fixed version is explicitly recorded in the structured CVE data.
Action
No verified patch reference is present in the current structured sources. Check the vendor advisory before making a change.
Workaround
No verified workaround is recorded. Limit untrusted access and use least privilege until authoritative guidance is available.
04

Evidence and provenance

Published 9 Apr 2024 · Last source change 3 May 2025, 00:40 UTC · CWE-416 · Use After Free

CVE recordCVE.org · 5.1
CVSS sourceCNA
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2024-1130
Product sourceCNA
Remediation sourceCVE/CNA references
CWE sourceOther authority
NVD statusNVD modified after enrichment

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates ↗

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2024-21409 · cve.blacktree.nl