CVSS 3.1
6.8 mediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:HMedium (6.8) in microsoft. EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in System.IdentityModel.Tokens.Jwt 5.7.0, 6.34.0, 7.1.2.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:HSystem.IdentityModel.Tokens.Jwt (NuGet): fixed in 5.7.0, 6.34.0, 7.1.2Microsoft.IdentityModel.JsonWebTokens (NuGet): fixed in 5.7.0, 6.34.0, 7.1.2Explain CVE-2024-21319 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21319?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21319?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-21319 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Microsoft .NET 6.0 | from 6.0.0 before 6.0.26 |
| Microsoft Visual Studio 2022 version 17.2 | from 17.2.0 before 17.2.23 |
| Microsoft Visual Studio 2022 version 17.6 | from 17.6.0 before 17.6.11 |
| Microsoft Visual Studio 2022 version 17.4 | from 17.4.0 before 17.4.15 |
| Microsoft Visual Studio 2022 version 17.8 | from 17.8.0 before 17.8.4 |
| Microsoft .NET 7.0 | from 7.0.0 before 7.0.15 |
| Microsoft .NET 8.0 | from 8.0 before 8.0.1 |
| Microsoft Identity Model v6.0.0 forNuget | from 6.0 before 6.34.0 |
| Microsoft Identity Model v7.0.0 for Nuget | from 7.0 before 7.1.2 |
| Microsoft Identity Model v6.0.0 | from 6.0 before 6.34.0 |
| Microsoft Identity Model v5.0.0 | from 5.0 before 5.7.0 |
| Microsoft Identity Model v7.0.0 | from 7.0 before 7.1.2 |
| Microsoft Identity Model v5.0.0 for Nuget | from 5.0 before 5.7.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-59j7-ghrg-fj52 | 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 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 22.04:LTS | dotnet6 | 6.0.126-0ubuntu1~22.04.1 | UBUNTU-CVE-2024-21319 USN-6578-1 |
| Ubuntu | 22.04:LTS | dotnet7 | 7.0.115-0ubuntu1~22.04.1 | UBUNTU-CVE-2024-21319 USN-6578-1 |
| Red Hat | enterprise_linux:8::appstream | dotnet, dotnet8.0, dotnet-sdk-8.0 and 5 more | 0:8.0.101-1.el8_9 | RHSA-2024:0150 |
| Red Hat | enterprise_linux:8::appstream | dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 8 more | 0:8.0.1-1.el8_9 | RHSA-2024:0150 |
| Red Hat | enterprise_linux:8::appstream | dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 6 more | 0:6.0.26-1.el8_9 | RHSA-2024:0158 |
| Red Hat | enterprise_linux:8::appstream | dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 6 more | 0:7.0.15-1.el8_9 | RHSA-2024:0157 |
| Red Hat | enterprise_linux:8::appstream | dotnet6.0, dotnet-sdk-6.0, dotnet6.0-debuginfo and 3 more | 0:6.0.126-1.el8_9 | RHSA-2024:0158 |
| Red Hat | enterprise_linux:8::appstream | dotnet7.0, dotnet-sdk-7.0, dotnet7.0-debuginfo and 3 more | 0:7.0.115-1.el8_9 | RHSA-2024:0157 |
| Red Hat | enterprise_linux:8::crb | dotnet-host-debuginfo, dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo and 1 more | 0:8.0.1-1.el8_9 | RHSA-2024:0150 |
| Red Hat | enterprise_linux:8::crb | dotnet-hostfxr-6.0-debuginfo, dotnet-runtime-6.0-debuginfo, dotnet-apphost-pack-6.0-debuginfo | 0:6.0.26-1.el8_9 | RHSA-2024:0158 |
| Red Hat | enterprise_linux:8::crb | dotnet-hostfxr-7.0-debuginfo, dotnet-runtime-7.0-debuginfo, dotnet-apphost-pack-7.0-debuginfo | 0:7.0.15-1.el8_9 | RHSA-2024:0157 |
| Red Hat | enterprise_linux:8::crb | dotnet6.0-debuginfo, dotnet6.0-debugsource, dotnet-sdk-6.0-debuginfo and 1 more | 0:6.0.126-1.el8_9 | RHSA-2024:0158 |
| Red Hat | enterprise_linux:8::crb | dotnet7.0-debuginfo, dotnet7.0-debugsource, dotnet-sdk-7.0-debuginfo and 1 more | 0:7.0.115-1.el8_9 | RHSA-2024:0157 |
| Red Hat | enterprise_linux:8::crb | dotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more | 0:8.0.101-1.el8_9 | RHSA-2024:0150 |
| 14 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | dotnet, dotnet-sdk-8.0, dotnet-templates-8.0 and 2 more | 8.0.101-1.el8_9 | ALSA-2024:0150 |
| AlmaLinux | 8 | dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more | 8.0.1-1.el8_9 | ALSA-2024:0150 |
| AlmaLinux | 8 | dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more | 6.0.26-1.el8_9 | ALSA-2024:0158 |
| AlmaLinux | 8 | dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more | 7.0.15-1.el8_9 | ALSA-2024:0157 |
| AlmaLinux | 8 | dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts | 6.0.126-1.el8_9 | ALSA-2024:0158 |
| AlmaLinux | 8 | dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts | 7.0.115-1.el8_9 | ALSA-2024:0157 |
| AlmaLinux | 9 | dotnet-host, dotnet-hostfxr-8.0, dotnet-runtime-8.0 and 4 more | 8.0.1-1.el9_3 | ALSA-2024:0152 |
| AlmaLinux | 9 | dotnet-hostfxr-6.0, dotnet-runtime-6.0, aspnetcore-runtime-6.0 and 3 more | 6.0.26-1.el9_3 | ALSA-2024:0156 |
| AlmaLinux | 9 | dotnet-hostfxr-7.0, dotnet-runtime-7.0, aspnetcore-runtime-7.0 and 3 more | 7.0.15-1.el9_3 | ALSA-2024:0151 |
| AlmaLinux | 9 | dotnet-sdk-6.0, dotnet-templates-6.0, dotnet-sdk-6.0-source-built-artifacts | 6.0.126-1.el9_3 | ALSA-2024:0156 |
| AlmaLinux | 9 | dotnet-sdk-7.0, dotnet-templates-7.0, dotnet-sdk-7.0-source-built-artifacts | 7.0.115-1.el9_3 | ALSA-2024:0151 |
| AlmaLinux | 9 | dotnet-sdk-8.0, dotnet-templates-8.0, netstandard-targeting-pack-2.1 and 1 more | 8.0.101-1.el9_3 | ALSA-2024:0152 |
| Rocky Linux | 8 | dotnet6.0 | 0:6.0.126-1.el8_9 | RLSA-2024:0158 |
| Rocky Linux | 8 | dotnet7.0 | 0:7.0.115-1.el8_9 | RLSA-2024:0157 |
| Rocky Linux | 8 | dotnet8.0 | 0:8.0.101-1.el8_9 | RLSA-2024:0150 |
| Alpine | v3.19 | dotnet7-build | 7.0.115-r0 | ALPINE-CVE-2024-21319 |
| Alpine | v3.19 | dotnet7-runtime | 7.0.15-r0 | ALPINE-CVE-2024-21319 |
| Alpine | v3.19, v3.20 | dotnet6-build | 6.0.126-r0 | ALPINE-CVE-2024-21319 |
| Alpine | v3.19, v3.20 | dotnet6-runtime | 6.0.26-r0 | ALPINE-CVE-2024-21319 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · Alpine.
Red Hat rates this Moderate.
This DoS vulnerability in .NET Core project templates utilizing JWT-based authentication tokens is considered a moderate issue due to its restricted impact. While unauthenticated clients can exploit the server's memory, potentially causing an out-of-memory condition and service disruption, the vulnerability does not lead to remote code execution or compromise sensitive data. Its exploitability is contingent on specific project configurations, limiting the scope of affected systems.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| .NET Core on Red Hat Enterprise Linux | rh-dotnet60-dotnet-0:6.0.126-1.el7_9 | Fixed 2024-01-15 | RHSA-2024:0255 |
| Red Hat Enterprise Linux 8 | dotnet8.0-0:8.0.101-1.el8_9 | Fixed 2024-01-10 | RHSA-2024:0150 |
| Red Hat Enterprise Linux 8 | dotnet7.0-0:7.0.115-1.el8_9 | Fixed 2024-01-10 | RHSA-2024:0157 |
| Red Hat Enterprise Linux 8 | dotnet6.0-0:6.0.126-1.el8_9 | Fixed 2024-01-10 | RHSA-2024:0158 |
| Red Hat Enterprise Linux 9 | dotnet7.0-0:7.0.115-1.el9_3 | Fixed 2024-01-10 | RHSA-2024:0151 |
| Red Hat Enterprise Linux 9 | dotnet8.0-0:8.0.101-1.el9_3 | Fixed 2024-01-10 | RHSA-2024:0152 |
| Red Hat Enterprise Linux 9 | dotnet6.0-0:6.0.126-1.el9_3 | Fixed 2024-01-10 | RHSA-2024:0156 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-21319.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-100-02 | Siemens SIDIS Prime | 2025-04-08 | Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater Systems | SIDIS Prime | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).