{"schemaVersion":3,"id":"CVE-2024-21409","aliases":["GHSA-6qmx-42h2-j8h6","BIT-dotnet-2024-21409","BIT-dotnet-sdk-2024-21409","BIT-powershell-2024-21409"],"status":"published","duplicateOf":null,"title":null,"description":".NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","dates":{"published":"2024-04-09T17:00:08.248Z","modified":"2025-05-03T00:40:32.661Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02513,"percentile":0.84571,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02513},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02513,"percentile":0.84571}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02513,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02513,"percentile":0.84571}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"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.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.7.2","name":"Microsoft .NET Framework 3.5 AND 4.7.2","label":"microsoft .net framework 3.5 and 4.7.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.7.0, < 4.7.4092.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.7.0, < 4.7.4092.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_472"},{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.8","name":"Microsoft .NET Framework 3.5 AND 4.8","label":"microsoft .net framework 3.5 and 4.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.0, < 4.8.4718.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.0, < 4.8.4718.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_48"},{"vendor":"microsoft","product":"microsoft .net framework 3.5 and 4.8.1","name":"Microsoft .NET Framework 3.5 AND 4.8.1","label":"microsoft .net framework 3.5 and 4.8.1","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.1, < 4.8.9236.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.1, < 4.8.9236.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_35_and_481"},{"vendor":"microsoft","product":"microsoft .net framework 4.6.2","name":"Microsoft .NET Framework 4.6.2","label":"microsoft .net framework 4.6.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.7.0, < 4.7.4092.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.7.0, < 4.7.4092.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_462"},{"vendor":"microsoft","product":"microsoft .net framework 4.6.2/4.7/4.7.1/4.7.2","name":"Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","label":"microsoft .net framework 4.6.2/4.7/4.7.1/4.7.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.7.0, < 4.7.4092.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.7.0, < 4.7.4092.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_46247471472"},{"vendor":"microsoft","product":"microsoft .net framework 4.8","name":"Microsoft .NET Framework 4.8","label":"microsoft .net framework 4.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.8.0, < 4.8.4718.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.8.0, < 4.8.4718.0","eol":null,"hubHref":"/vendor/microsoft/microsoft_net_framework_48"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.4","name":"Microsoft Visual Studio 2022 version 17.4","label":"microsoft visual studio 2022 version 17.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.4.0, < 17.4.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.4.0, < 17.4.18","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_174"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.6","name":"Microsoft Visual Studio 2022 version 17.6","label":"microsoft visual studio 2022 version 17.6","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.6.0, < 17.6.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.6.0, < 17.6.14","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_176"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.8","name":"Microsoft Visual Studio 2022 version 17.8","label":"microsoft visual studio 2022 version 17.8","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.8.0, < 17.8.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.8.0, < 17.8.9","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_178"},{"vendor":"microsoft","product":"microsoft visual studio 2022 version 17.9","name":"Microsoft Visual Studio 2022 version 17.9","label":"microsoft visual studio 2022 version 17.9","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0, < 17.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0, < 17.9.6","eol":null,"hubHref":"/vendor/microsoft/microsoft_visual_studio_2022_version_179"},{"vendor":"microsoft","product":".net","name":".net","label":".net","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.29 | ≥ 7.0.0, < 7.0.18 | ≥ 8.0.0, < 8.0.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"dotnet","label":"Microsoft .NET","category":"framework"}},"hubHref":"/vendor/microsoft/net"},{"vendor":"microsoft","product":".net 6.0","name":".NET 6.0","label":".net 6.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.29","eol":null,"hubHref":"/vendor/microsoft/net_60"},{"vendor":"microsoft","product":".net 7.0","name":".NET 7.0","label":".net 7.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.18","eol":null,"hubHref":"/vendor/microsoft/net_70"},{"vendor":"microsoft","product":".net 8.0","name":".NET 8.0","label":".net 8.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0, < 8.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0, < 8.0.4","eol":null,"hubHref":"/vendor/microsoft/net_80"},{"vendor":"microsoft","product":".net_framework","name":".net framework","label":".net_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.5","noFixRecorded":false,"fixedIn":null},{"text":"4.8.1","noFixRecorded":false,"fixedIn":null},{"text":"4.7.2","noFixRecorded":false,"fixedIn":null},{"text":"4.8","noFixRecorded":false,"fixedIn":null},{"text":"4.6.2","noFixRecorded":false,"fixedIn":null},{"text":"4.7","noFixRecorded":false,"fixedIn":null},{"text":"4.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.5 | 4.8.1 | 4.7.2 | 4.8 | 4.6.2 | 4.7 | 4.7.1","eol":null,"hubHref":"/vendor/microsoft/net_framework"},{"vendor":"microsoft","product":"powershell","name":"powershell","label":"powershell","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.2, < 7.2.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.3, < 7.3.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.4, < 7.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.2, < 7.2.19 | ≥ 7.3, < 7.3.12 | ≥ 7.4, < 7.4.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"powershell","label":"Microsoft PowerShell","category":"lang"}},"hubHref":"/vendor/microsoft/powershell"},{"vendor":"microsoft","product":"powershell 7.2","name":"PowerShell 7.2","label":"powershell 7.2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.2.0, < 7.2.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.2.0, < 7.2.19","eol":null,"hubHref":"/vendor/microsoft/powershell_72"},{"vendor":"microsoft","product":"powershell 7.3","name":"PowerShell 7.3","label":"powershell 7.3","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.3.0, < 7.3.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.3.0, < 7.3.12","eol":null,"hubHref":"/vendor/microsoft/powershell_73"},{"vendor":"microsoft","product":"powershell 7.4","name":"PowerShell 7.4","label":"powershell 7.4","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.4.0, < 7.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.4.0, < 7.4.2","eol":null,"hubHref":"/vendor/microsoft/powershell_74"},{"vendor":"microsoft","product":"visual_studio_2022","name":"visual studio 2022","label":"visual_studio_2022","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.4.0, < 17.4.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.6.0, < 17.6.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.8.0, < 17.8.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.9.0, < 17.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.4.0, < 17.4.18 | ≥ 17.6.0, < 17.6.14 | ≥ 17.8.0, < 17.8.9 | ≥ 17.9.0, < 17.9.6","eol":null,"hubHref":"/vendor/microsoft/visual_studio_2022"},{"vendor":"NuGet","product":"Microsoft.WindowsDesktop.App.Runtime.win-arm64","name":"Microsoft.WindowsDesktop.App.Runtime.win-arm64","label":"Microsoft.WindowsDesktop.App.Runtime.win-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Microsoft.WindowsDesktop.App.Runtime.win-arm64","purlType":"nuget","versions":[{"text":"< 6.0.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.29 | ≥ 8.0.0, < 8.0.4 | ≥ 7.0.0, < 7.0.18","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Microsoft.WindowsDesktop.App.Runtime.win-x64","name":"Microsoft.WindowsDesktop.App.Runtime.win-x64","label":"Microsoft.WindowsDesktop.App.Runtime.win-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Microsoft.WindowsDesktop.App.Runtime.win-x64","purlType":"nuget","versions":[{"text":"< 6.0.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.29 | ≥ 8.0.0, < 8.0.4 | ≥ 7.0.0, < 7.0.18","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Microsoft.WindowsDesktop.App.Runtime.win-x86","name":"Microsoft.WindowsDesktop.App.Runtime.win-x86","label":"Microsoft.WindowsDesktop.App.Runtime.win-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Microsoft.WindowsDesktop.App.Runtime.win-x86","purlType":"nuget","versions":[{"text":"≥ 7.0.0, < 7.0.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.4","noFixRecorded":false,"fixedIn":null},{"text":"< 6.0.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.18 | ≥ 8.0.0, < 8.0.4 | < 6.0.29","eol":null,"hubHref":null}],"affectedCount":23,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21409","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21409","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20250117-0002/","label":"security.netapp.com/advisory/ntap-20250117-0002/","hostname":"security.netapp.com","tags":[]},{"url":"https://github.com/dotnet/wpf/security/advisories/GHSA-6qmx-42h2-j8h6","label":"github.com/dotnet/wpf/security/advisories/GHSA-6qmx-42h2-j8h6","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21409","label":"nvd.nist.gov/vuln/detail/CVE-2024-21409","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/dotnet/wpf","label":"github.com/dotnet/wpf","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20250117-0002","label":"security.netapp.com/advisory/ntap-20250117-0002","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-04-09T17:00:08.248Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-03T00:40:32.661Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:26:46.149Z","stale":false,"partial":false}}