🛡️ GHSA-8g9c-28fc-mcx2 — microsoft.identitymodel.jsonwebtokens

⚪ Unknown ✅ No Known Exploit CWE-20 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Duplicate Advisory: Microsoft Identity Denial of service vulnerability

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

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

GHSA-8g9c-28fc-mcx2 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

GHSA-8g9c-28fc-mcx2 is recorded against 2 packages.

  • microsoft.identitymodel.jsonwebtokens (from 7.0.0-preview up to 7.1.2)
  • system.identitymodel.tokens.jwt (from 7.0.0-preview up to 7.1.2)

Timeline and source

Published on 9 January 2024 and last revised on 7 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Package)
github.com (Web)
github.com (Web)
github.com (Web)
msrc.microsoft.com (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2024-01-09
Updated 2026-08-12
Modified 2024-12-07
Fix URL N/A

Affected Packages

Software From version Fixed in
microsoft.identitymodel.jsonwebtokens 7.0.0-preview 7.1.2
system.identitymodel.tokens.jwt 7.0.0-preview 7.1.2

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-8g9c-28fc-mcx2?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-8g9c-28fc-mcx2 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated