Skip to content

Duplicate Advisory: Microsoft Identity Denial of service vulnerability

Moderate severity GitHub Reviewed Published Jan 9, 2024 in AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet • Updated Apr 15, 2024
Withdrawn This advisory was withdrawn on Apr 11, 2024

Package

nuget Microsoft.IdentityModel.JsonWebTokens (NuGet)

Affected versions

< 5.7.0
>= 6.5.0, < 6.34.0
>= 7.0.0-preview, < 7.1.2

Patched versions

5.7.0
6.34.0
7.1.2
nuget System.IdentityModel.Tokens.Jwt (NuGet)
< 5.7.0
>= 6.5.0, < 6.34.0
>= 7.0.0-preview, < 7.1.2
5.7.0
6.34.0
7.1.2

Description

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-59j7-ghrg-fj52. This link is maintained to preserve external references.

Original Description

Impact

An 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.

It's important to note that the attacker must have access to the public encrypt key registered with the IDP(Entra ID) for successful exploitation.

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability?
A 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.

Patches

The 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).

Workarounds

No, users must upgrade.

References

https://aka.ms/IdentityModel/Jan2024/zip

References

Published to the GitHub Advisory Database Jan 9, 2024
Reviewed Jan 9, 2024
Published by the National Vulnerability Database Jan 9, 2024
Withdrawn Apr 11, 2024
Last updated Apr 15, 2024

Severity

Moderate
6.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-8g9c-28fc-mcx2

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.