{"answers":{"affected":"1 open source package ship an affected version, including aspnet-core. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21404 exists.","fix":"Upgrade aspnet-core to a fixed version for your release line: 6.0.27, 7.0.16 or 8.0.2.","what":"CVE-2024-21404 is a high-severity vulnerability in Microsoft Visual Studio 2022, published on 13 Feb 2024."},"fix_prompt":"Check this codebase for CVE-2024-21404 and fix it if it is affected.\n\nWhat it is: CVE-2024-21404 is a high-severity vulnerability in Microsoft Visual Studio 2022, published on 13 Feb 2024. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21404 exists.\n\nAffected packages and fixed versions:\n- aspnet-core (Bitnami): affected from 6.0.0; fixed in 6.0.27, 7.0.16, 8.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-21404/ (Markdown: https://insights.sbomify.com/CVE-2024-21404/index.md)","id":"CVE-2024-21404","markdown":"https://insights.sbomify.com/CVE-2024-21404/index.md","name":"CVE-2024-21404","record":{"aliases":["BELL-CVE-2024-21404","BIT-aspnet-core-2024-21404","CLEANSTART-2025-MP76988","GHSA-q5x8-3vm4-xrh9","RHSA-2024:1552","RHSA-2024:1553","RHSA-2024:1554","RHSA-2024:1555","RHSA-2024:1641","RHSA-2024:1643","UBUNTU-CVE-2024-21404"],"analysis":null,"analysis_generated_by":null,"assigner":"microsoft","cpe":[{"product":"asp.net_core","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":".NET Denial of Service Vulnerability","ecosystems":["Bitnami","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::crb","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::crb","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.0::crb","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":".NET Denial of Service Vulnerability","id":"CVE-2024-21404","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:visual_studio_2022","products":["microsoft:visual_studio_2022"],"type":null,"year":"2024"},"n_packages":151,"n_references":1,"next":{"headline":"Microsoft Message Queuing (MSMQ) Elevation of Privilege Vulnerability","id":"CVE-2024-21405"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.27","7.0.16","8.0.2"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"aspnet-core","purl":"pkg:bitnami/aspnet-core","source":"BIT-aspnet-core-2024-21404"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-6.0","purl":"pkg:rpm/redhat/aspnetcore-runtime-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-6.0","purl":"pkg:rpm/redhat/aspnetcore-targeting-pack-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet","purl":"pkg:rpm/redhat/dotnet","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-6.0","purl":"pkg:rpm/redhat/dotnet-apphost-pack-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-apphost-pack-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-host","purl":"pkg:rpm/redhat/dotnet-host","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-host-debuginfo","purl":"pkg:rpm/redhat/dotnet-host-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-6.0","purl":"pkg:rpm/redhat/dotnet-hostfxr-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-hostfxr-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-6.0","purl":"pkg:rpm/redhat/dotnet-runtime-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-runtime-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-6.0","purl":"pkg:rpm/redhat/dotnet-sdk-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-sdk-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-targeting-pack-6.0","purl":"pkg:rpm/redhat/dotnet-targeting-pack-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-templates-6.0","purl":"pkg:rpm/redhat/dotnet-templates-6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet6.0","purl":"pkg:rpm/redhat/dotnet6.0","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet6.0-debugsource","purl":"pkg:rpm/redhat/dotnet6.0-debugsource","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"netstandard-targeting-pack-2.1","purl":"pkg:rpm/redhat/netstandard-targeting-pack-2.1","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-apphost-pack-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-host-debuginfo","purl":"pkg:rpm/redhat/dotnet-host-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-hostfxr-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.27-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-runtime-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-sdk-6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-6.0-source-built-artifacts","purl":"pkg:rpm/redhat/dotnet-sdk-6.0-source-built-artifacts","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet6.0-debuginfo","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.6::crb","fixed":["0:6.0.127-1.el8_6"],"introduced":["0"],"last_affected":[],"package":"dotnet6.0-debugsource","purl":"pkg:rpm/redhat/dotnet6.0-debugsource","source":"RHSA-2024:1554"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:6.0.27-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-6.0","purl":"pkg:rpm/redhat/aspnetcore-runtime-6.0","source":"RHSA-2024:1553"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-7.0","purl":"pkg:rpm/redhat/aspnetcore-runtime-7.0","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:6.0.27-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-6.0","purl":"pkg:rpm/redhat/aspnetcore-targeting-pack-6.0","source":"RHSA-2024:1553"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-7.0","purl":"pkg:rpm/redhat/aspnetcore-targeting-pack-7.0","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.116-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet","purl":"pkg:rpm/redhat/dotnet","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:6.0.27-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-6.0","purl":"pkg:rpm/redhat/dotnet-apphost-pack-6.0","source":"RHSA-2024:1553"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:6.0.27-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-6.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-apphost-pack-6.0-debuginfo","source":"RHSA-2024:1553"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-7.0","purl":"pkg:rpm/redhat/dotnet-apphost-pack-7.0","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-7.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-apphost-pack-7.0-debuginfo","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-host","purl":"pkg:rpm/redhat/dotnet-host","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:7.0.16-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-host-debuginfo","purl":"pkg:rpm/redhat/dotnet-host-debuginfo","source":"RHSA-2024:1641"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:6.0.27-1.el8_8"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-6.0","purl":"pkg:rpm/redhat/dotnet-hostfxr-6.0","source":"RHSA-2024:1553"}],"prev":{"headline":"Microsoft Azure Kubernetes Service Confidential Container Elevation of Privilege Vulnerability","id":"CVE-2024-21403"},"products":[".NET 6.0",".NET 7.0",".NET 8.0","Microsoft Visual Studio 2022 version 17.4","Microsoft Visual Studio 2022 version 17.6","Microsoft Visual Studio 2022 version 17.8"],"published":"2024-02-13","related":[{"cvss_score":9.9,"headline":"ASP.NET Security Feature Bypass Vulnerability","id":"CVE-2025-55315","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":9.4,"headline":"ASP.NET Core Tampering Vulnerability","id":"CVE-2026-88092","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.1,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-40372","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2021-43877","kev_date_added":null,"published":"2021-12-15"},{"cvss_score":8.8,"headline":"Remote code execution in ASP.NET Core","id":"CVE-2020-0603","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":8.8,"headline":"Elevation of privilege in ASP.NET Core","id":"CVE-2019-1302","kev_date_added":null,"published":"2019-09-11"},{"cvss_score":8.8,"headline":"ASP.NET Core allow an elevation of privilege","id":"CVE-2018-0787","kev_date_added":null,"published":"2018-03-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["Microsoft"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-21404/"}