{"id":"GHSA-8g9c-28fc-mcx2","summary":"Duplicate Advisory: Microsoft Identity Denial of service vulnerability","details":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-59j7-ghrg-fj52. This link is maintained to preserve external references.\n\n### Original Description\n\n### Impact\nAn attacker could exploit this vulnerability by crafting a malicious JSON Web Encryption (JWE) token with a high compression ratio. This token, when processed by a server, leads to excessive memory allocation and processing time during decompression, causing a denial-of-service (DoS) condition.\n\nIt's important to note that the attacker must have access to the public encrypt key registered with the IDP(Entra ID) for successful exploitation.\n\n_According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability?_\nA scope change (S:C) in the CVSS metric indicates that successful exploitation of this vulnerability could extend beyond the immediate processing of malicious tokens, affecting the overall availability of the system by causing a denial-of-service (DoS) condition.\n\n### Patches\nThe vulnerability has been fixed. Users should update **all** their Microsoft.IdentityModel versions to 7.1.2 (for 7x) or higher, 6.34.0 (for 6x) or higher, and 5.7.0 (for 5x).\n\n### Workarounds\nNo, users must upgrade.\n\n### References\nhttps://aka.ms/IdentityModel/Jan2024/zip","modified":"2026-09-10T03:50:10.909205208Z","published":"2024-01-09T18:28:03Z","withdrawn":"2024-04-11T20:42:09Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-01-09T18:28:03Z","nvd_published_at":"2024-01-09T19:15:12Z"},"references":[{"type":"WEB","url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/security/advisories/GHSA-8g9c-28fc-mcx2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21319"},{"type":"PACKAGE","url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet"},{"type":"WEB","url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/5.7.0"},{"type":"WEB","url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/6.34.0"},{"type":"WEB","url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.1.2"},{"type":"WEB","url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21319"}],"affected":[{"package":{"name":"Microsoft.IdentityModel.JsonWebTokens","ecosystem":"NuGet","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.0"}]}],"versions":["5.2.4","5.3.0","5.4.0","5.5.0","5.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}},{"package":{"name":"Microsoft.IdentityModel.JsonWebTokens","ecosystem":"NuGet","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.34.0"}]}],"versions":["6.10.0","6.10.1","6.10.2","6.11.0","6.11.1","6.12.0","6.12.1","6.12.2","6.13.0","6.13.1","6.14.0","6.14.1","6.15.0","6.15.1","6.16.0","6.17.0","6.18.0","6.19.0","6.20.0","6.21.0","6.22.0","6.22.1","6.23.0","6.23.1","6.24.0","6.25.0","6.25.1","6.26.0","6.26.1","6.27.0","6.28.0","6.28.1","6.29.0","6.30.0","6.30.1","6.31.0","6.32.0","6.32.1","6.32.2","6.32.3","6.33.0","6.5.0","6.5.1","6.6.0","6.7.0","6.7.1","6.7.2-preview-10803222715","6.8.0","6.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}},{"package":{"name":"Microsoft.IdentityModel.JsonWebTokens","ecosystem":"NuGet","purl":"pkg:nuget/Microsoft.IdentityModel.JsonWebTokens"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0-preview"},{"fixed":"7.1.2"}]}],"versions":["7.0.0","7.0.0-preview","7.0.0-preview2","7.0.0-preview3","7.0.0-preview4","7.0.0-preview5","7.0.1","7.0.2","7.0.3","7.1.0-preview"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}},{"package":{"name":"System.IdentityModel.Tokens.Jwt","ecosystem":"NuGet","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.0"}]}],"versions":["1.0.0","3.0.0","3.0.1","3.0.2","4.0.0","4.0.0-RC1","4.0.0-RC1-10701-1147","4.0.0-RC2","4.0.0-alpha","4.0.0-beta1","4.0.1","4.0.2.202250630","4.0.2.202250711","4.0.2.205111437","4.0.2.206221351","4.0.3.308261200","4.0.4.402070948","4.0.4.403061554","5.0.0","5.0.0-beta7-208241120","5.0.0-beta8-210131116","5.0.0-rc1-211161024","5.0.0-rc2-305061149","5.0.1-pre-310121323","5.1.0","5.1.1","5.1.2","5.1.3","5.1.4","5.1.5","5.2.0","5.2.0-preview1-408290725","5.2.0-preview2-41113220915","5.2.1","5.2.2","5.2.3","5.2.4","5.3.0","5.4.0","5.5.0","5.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}},{"package":{"name":"System.IdentityModel.Tokens.Jwt","ecosystem":"NuGet","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.34.0"}]}],"versions":["6.10.0","6.10.1","6.10.2","6.11.0","6.11.1","6.12.0","6.12.1","6.12.2","6.13.0","6.13.1","6.14.0","6.14.1","6.15.0","6.15.1","6.16.0","6.17.0","6.18.0","6.19.0","6.20.0","6.21.0","6.22.0","6.22.1","6.23.0","6.23.1","6.24.0","6.25.0","6.25.1","6.26.0","6.26.1","6.27.0","6.28.0","6.28.1","6.29.0","6.30.0","6.30.1","6.31.0","6.32.0","6.32.1","6.32.2","6.32.3","6.33.0","6.5.0","6.5.1","6.6.0","6.7.0","6.7.1","6.7.2-preview-10803222715","6.8.0","6.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}},{"package":{"name":"System.IdentityModel.Tokens.Jwt","ecosystem":"NuGet","purl":"pkg:nuget/System.IdentityModel.Tokens.Jwt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0-preview"},{"fixed":"7.1.2"}]}],"versions":["7.0.0","7.0.0-preview","7.0.0-preview2","7.0.0-preview3","7.0.0-preview4","7.0.0-preview5","7.0.1","7.0.2","7.0.3","7.1.0-preview"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"}]}