{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.NETCore.App, dotnet and dotnet-sdk. It affects 5 products.","exploited":"There is no known exploitation of CVE-2021-1721 in the wild and no public exploit code.","fix":"Upgrade Microsoft.NETCore.App to 2.1.25 or later.","what":"CVE-2021-1721 is a medium-severity denial of service vulnerability in Microsoft .Net, published on 25 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-1721 and fix it if it is affected.\n\nWhat it is: CVE-2021-1721 is a medium-severity denial of service vulnerability in Microsoft .Net, published on 25 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-1721 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.NETCore.App (NuGet): affected from 2.1.0; fixed in 2.1.25\n- Microsoft.NETCore.App (NuGet): affected from 2.1.0; fixed in 2.1.25\n- dotnet (Bitnami): affected from 5.0.0; fixed in 5.0.3\n- dotnet-sdk (Bitnami): affected from 5.0.0; fixed in 5.0.3\n- Microsoft.NETCore.App.Host.linux-arm (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-arm (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-arm64 (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-arm64 (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-musl-arm64 (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-musl-arm64 (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-musl-x64 (NuGet): affected from 3.1.0; fixed in 3.1.12\n- Microsoft.NETCore.App.Host.linux-musl-x64 (NuGet): affected from 3.1.0; fixed in 3.1.12\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-2021-1721/ (Markdown: https://insights.sbomify.com/CVE-2021-1721/index.md)","id":"CVE-2021-1721","markdown":"https://insights.sbomify.com/CVE-2021-1721/index.md","name":"CVE-2021-1721","record":{"aliases":["BIT-dotnet-2021-1721","BIT-dotnet-sdk-2021-1721","GHSA-3gp9-h8hw-pxpw","RHSA-2021:0470","RHSA-2021:0471","RHSA-2021:0472","RHSA-2021:0473","RHSA-2021:0474","RHSA-2021:0476"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":".NET Core and Visual Studio","requires_auth":"none","summary":"Attackers can cause a denial of service in .NET Core and Visual Studio environments, requiring users to apply security patches.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":".net_core","vendor":"microsoft"},{"product":"powershell_core","vendor":"microsoft"},{"product":"visual_studio_2017","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C","version":"3.1"},"cwes":[],"description":".NET Core and Visual Studio Denial of Service Vulnerability","ecosystems":["Bitnami","NuGet","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_dotnet:2.1::el7","Red Hat:rhel_dotnet:3.1::el7","Red Hat:rhel_dotnet:5.0::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":".NET Core and Visual Studio Denial of Service Vulnerability","id":"CVE-2021-1721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2017","microsoft:visual_studio_2019"],"type":"denial_of_service","year":"2021"},"n_packages":188,"n_references":1,"next":{"headline":"Windows Fax Service Remote Code Execution Vulnerability","id":"CVE-2021-1722"},"packages":[{"ecosystem":"Bitnami","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2021-1721"},{"ecosystem":"Bitnami","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2021-1721"},{"ecosystem":"NuGet","fixed":["2.1.25"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["2.1.25"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App","purl":"pkg:nuget/Microsoft.NETCore.App","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-arm","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Host.linux-arm","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-arm64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.linux-arm64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-musl-arm64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-musl-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.linux-musl-arm64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-musl-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-musl-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.linux-musl-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.linux-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.osx-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.osx-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.rhel.6-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.rhel.6-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.rhel.6-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-arm","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Host.win-arm","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-arm64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.win-arm64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Host.win-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-x86","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["3.1.12"],"introduced":["3.1.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Host.win-x86","purl":"pkg:nuget/Microsoft.NETCore.App.Host.win-x86","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.linux-arm","purl":null,"source":"GHSA-3gp9-h8hw-pxpw"},{"ecosystem":"NuGet","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.NETCore.App.Runtime.Mono.linux-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.linux-arm","source":"GHSA-3gp9-h8hw-pxpw"}],"prev":{"headline":"Microsoft SharePoint Elevation of Privilege Vulnerability","id":"CVE-2021-1719"},"products":[".NET 5.0",".NET Core 2.1",".NET Core 3.1","Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)","Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)","Microsoft Visual Studio 2019 version 16.8","PowerShell Core 7.0","PowerShell Core 7.1"],"published":"2021-02-25","related":[{"cvss_score":9.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2024-43498","kev_date_added":null,"published":"2024-11-12"},{"cvss_score":9.1,"headline":"NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability","id":"CVE-2024-0057","kev_date_added":null,"published":"2024-01-09"},{"cvss_score":8.8,"headline":".NET Security Feature Bypass Vulnerability","id":"CVE-2026-96957","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":8.8,"headline":".NET and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2026-69439","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2026-71328","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47300","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47303","kev_date_added":null,"published":"2026-07-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":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["Microsoft"]},"summary":"Attackers can cause a denial of service in .NET Core and Visual Studio environments, requiring users to apply security patches.","url":"https://insights.sbomify.com/CVE-2021-1721/"}