Home / Microsoft / .NET 6.0 / CVE-2024-21319
CVE-2024-21319: is it exploited, and which versions of Microsoft .NET 6.0 are affected and fixed?
CVE-2024-21319 is an improper input validation vulnerability in Microsoft .NET 6.0. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: System.IdentityModel.Tokens.Jwt before 5.7.0, System.IdentityModel.Tokens.Jwt from 6.5.0 before 6.34.0, System.IdentityModel.Tokens.Jwt from 7.0.0-preview before 7.1.2 and 3 more (GitHub advisory GHSA-59j7-ghrg-fj52). Fixed in 5.7.0, 6.34.0 and 7.1.2 (GitHub advisory GHSA-59j7-ghrg-fj52). Severity: Medium (6.8, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2024-21319?
Microsoft Identity Denial of service vulnerability
From the CVE record by microsoft, last updated June 3, 2025, 14:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | .NET 6.0 Unknown | from 6.0.0 before 6.0.26 | 6.0.26 |
| Microsoft | Microsoft Visual Studio 2022 version 17.2 Unknown | from 17.2.0 before 17.2.23 | 17.2.23 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 Unknown | from 17.6.0 before 17.6.11 | 17.6.11 |
| Microsoft | Microsoft Visual Studio 2022 version 17.4 Unknown | from 17.4.0 before 17.4.15 | 17.4.15 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 Unknown | from 17.8.0 before 17.8.4 | 17.8.4 |
| Microsoft | .NET 7.0 Unknown | from 7.0.0 before 7.0.15 | 7.0.15 |
| Microsoft | .NET 8.0 Unknown | from 8.0 before 8.0.1 | 8.0.1 |
| Microsoft | Microsoft Identity Model v6.0.0 forNuget Unknown | from 6.0 before 6.34.0 | 6.34.0 |
| Microsoft | Microsoft Identity Model v7.0.0 for Nuget Unknown | from 7.0 before 7.1.2 | 7.1.2 |
| Microsoft | Microsoft Identity Model v6.0.0 Unknown | from 6.0 before 6.34.0 | 6.34.0 |
| Microsoft | Microsoft Identity Model v5.0.0 Unknown | from 5.0 before 5.7.0 | 5.7.0 |
| Microsoft | Microsoft Identity Model v7.0.0 Unknown | from 7.0 before 7.1.2 | 7.1.2 |
| Microsoft | Microsoft Identity Model v5.0.0 for Nuget Unknown | from 5.0 before 5.7.0 | 5.7.0 |
As the CVE record by microsoft states it, last updated June 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | System.IdentityModel.Tokens.Jwt | < 5.7.0 | 5.7.0 | GHSA-59j7-ghrg-fj52 |
| NuGet | System.IdentityModel.Tokens.Jwt | >= 6.5.0, < 6.34.0 | 6.34.0 | GHSA-59j7-ghrg-fj52 |
| NuGet | System.IdentityModel.Tokens.Jwt | >= 7.0.0-preview, < 7.1.2 | 7.1.2 | GHSA-59j7-ghrg-fj52 |
| NuGet | Microsoft.IdentityModel.JsonWebTokens | < 5.7.0 | 5.7.0 | GHSA-59j7-ghrg-fj52 |
| NuGet | Microsoft.IdentityModel.JsonWebTokens | >= 6.5.0, < 6.34.0 | 6.34.0 | GHSA-59j7-ghrg-fj52 |
| NuGet | Microsoft.IdentityModel.JsonWebTokens | >= 7.0.0-preview, < 7.1.2 | 7.1.2 | GHSA-59j7-ghrg-fj52 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 4, 2025. Summary: Microsoft ASP.NET Core project templates vulnerable to denial of service.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | .net | from 6.0.0 before 6.0.26 | application |
| microsoft | .net | from 7.0.0 before 7.0.15 | application |
| microsoft | .net | from 8.0.0 before 8.0.1 | application |
| microsoft | identity model | from 5.0.0 before 5.7.0 | application |
| microsoft | identity model | from 6.0.0 before 6.34.0 | application |
| microsoft | identity model | from 7.0.0 before 7.1.2 | application |
| microsoft | visual studio 2022 | from 17.2.0 before 17.2.23 | application |
| microsoft | visual studio 2022 | from 17.4.0 before 17.4.15 | application |
| microsoft | visual studio 2022 | from 17.6.0 before 17.6.11 | application |
| microsoft | visual studio 2022 | from 17.8.0 before 17.8.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:08 UTC.
How severe is CVE-2024-21319?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 3.1 | 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 | microsoft |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-21319 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 8, 2025)
- EPSS
- 2.89% probability of exploitation activity in the next 30 days, percentile 87.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- Microsoft Identity Denial of service vulnerability vendor-advisory
When was it published, and where is the official record?
- Reserved
- December 8, 2023
- Published
- January 9, 2024, 18:59 UTC
- CVE record updated
- June 3, 2025, 14:29 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 07:08 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect .NET 6.0?
- Aug 8, 2023CVE-2023-38180 Microsoft .NET 6.0: denial of service (uncontrolled resource consumption) exploited
- Sep 8, 2025CVE-2025-36855 Microsoft .NET 6.0: buffer Over-read
- Sep 8, 2025CVE-2025-36854 Microsoft .NET 6.0: use after free
- Sep 8, 2025CVE-2025-36853 Microsoft .NET 6.0: integer overflow
- Oct 8, 2024CVE-2024-43485 Microsoft .NET 6.0: denial of service through slow algorithm
- Oct 8, 2024CVE-2024-43484 Microsoft .NET 6.0: denial of service through slow algorithm
- Oct 8, 2024CVE-2024-43483 Microsoft .NET 6.0: denial of service through slow algorithm
- Jul 9, 2024CVE-2024-38095 Microsoft PowerShell 7.4: improper input validation
Questions about CVE-2024-21319
Is CVE-2024-21319 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 2.89% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft .NET 6.0 are affected by CVE-2024-21319?
System.IdentityModel.Tokens.Jwt before 5.7.0, System.IdentityModel.Tokens.Jwt from 6.5.0 before 6.34.0, System.IdentityModel.Tokens.Jwt from 7.0.0-preview before 7.1.2, Microsoft.IdentityModel.JsonWebTokens before 5.7.0, Microsoft.IdentityModel.JsonWebTokens from 6.5.0 before 6.34.0 and Microsoft.IdentityModel.JsonWebTokens from 7.0.0-preview before 7.1.2, per the GitHub advisory GHSA-59j7-ghrg-fj52. The tables above give every range the sources list.
Which version fixes CVE-2024-21319?
5.7.0, 6.34.0 and 7.1.2, per the GitHub advisory GHSA-59j7-ghrg-fj52. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-21319?
Medium (6.8, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2024-21319?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.