{"answers":{"affected":"14 open source packages ship an affected version, including Microsoft.IdentityModel.JsonWebTokens, dotnet and dotnet-sdk. It affects 3 products.","exploited":"There is no known exploitation of CVE-2024-21319 in the wild and no public exploit code.","fix":"Upgrade Microsoft.IdentityModel.JsonWebTokens to a fixed version for your release line: 5.7.0, 6.34.0 or 7.1.2.","what":"CVE-2024-21319 is a medium-severity denial of service vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21319 and fix it if it is affected.\n\nWhat it is: CVE-2024-21319 is a medium-severity denial of service vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-21319 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected all versions; fixed in 5.7.0\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected all versions; fixed in 5.7.0\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected from 6.5.0; fixed in 6.34.0\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected from 6.5.0; fixed in 6.34.0\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected from 7.0.0-preview; fixed in 7.1.2\n- Microsoft.IdentityModel.JsonWebTokens (NuGet): affected from 7.0.0-preview; fixed in 7.1.2\n- dotnet (Bitnami): affected from 6.0.0; fixed in 6.0.26, 7.0.15, 8.0.1\n- dotnet-sdk (Bitnami): affected from 6.0.0; fixed in 6.0.26, 7.0.15, 8.0.1\n- System.IdentityModel.Tokens.Jwt (NuGet): affected all versions; fixed in 5.7.0\n- System.IdentityModel.Tokens.Jwt (NuGet): affected all versions; fixed in 5.7.0\n- System.IdentityModel.Tokens.Jwt (NuGet): affected from 6.5.0; fixed in 6.34.0\n- System.IdentityModel.Tokens.Jwt (NuGet): affected from 6.5.0; fixed in 6.34.0\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-21319/ (Markdown: https://insights.sbomify.com/CVE-2024-21319/index.md)","id":"CVE-2024-21319","markdown":"https://insights.sbomify.com/CVE-2024-21319/index.md","name":"CVE-2024-21319","record":{"aliases":["BIT-dotnet-2024-21319","BIT-dotnet-sdk-2024-21319","CLEANSTART-2025-WW90034","GHSA-59j7-ghrg-fj52","UBUNTU-CVE-2024-21319"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft Identity Model","requires_auth":"high_privilege","summary":"Attackers can cause a denial of service in applications using Microsoft Identity Model libraries by exploiting improper input validation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":"identity_model","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Microsoft Identity Denial of service vulnerability","ecosystems":["Bitnami","NuGet"],"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":"Microsoft Identity Denial of service vulnerability","id":"CVE-2024-21319","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2022"],"type":"denial_of_service","year":"2024"},"n_packages":14,"n_references":1,"next":{"headline":"Windows Themes Spoofing Vulnerability","id":"CVE-2024-21320"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2024-21319"},{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2024-21319"},{"ecosystem":"NuGet","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens","source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["6.34.0"],"introduced":["6.5.0"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["6.34.0"],"introduced":["6.5.0"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens","source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["7.1.2"],"introduced":["7.0.0-preview"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["7.1.2"],"introduced":["7.0.0-preview"],"last_affected":[],"package":"Microsoft.IdentityModel.JsonWebTokens","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens","source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt","source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["6.34.0"],"introduced":["6.5.0"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["6.34.0"],"introduced":["6.5.0"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt","source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["7.1.2"],"introduced":["7.0.0-preview"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":null,"source":"GHSA-59j7-ghrg-fj52"},{"ecosystem":"NuGet","fixed":["7.1.2"],"introduced":["7.0.0-preview"],"last_affected":[],"package":"System.IdentityModel.Tokens.Jwt","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt","source":"GHSA-59j7-ghrg-fj52"}],"prev":{"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2024-21318"},"products":[".NET 6.0",".NET 7.0",".NET 8.0","Microsoft Identity Model v5.0.0","Microsoft Identity Model v5.0.0 for Nuget","Microsoft Identity Model v6.0.0","Microsoft Identity Model v6.0.0 forNuget","Microsoft Identity Model v7.0.0","Microsoft Identity Model v7.0.0 for Nuget","Microsoft Visual Studio 2022 version 17.2","Microsoft Visual Studio 2022 version 17.4","Microsoft Visual Studio 2022 version 17.6","Microsoft Visual Studio 2022 version 17.8"],"published":"2024-01-09","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["Microsoft"]},"summary":"Attackers can cause a denial of service in applications using Microsoft Identity Model libraries by exploiting improper input validation.","url":"https://insights.sbomify.com/CVE-2024-21319/"}