Resource Exhaustion Affecting microsoft.identitymodel.jsonwebtokens package, versions [,5.7.0) [6.5.0,6.34.0) [7.0.0-preview,7.1.2)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Privileges Required High
    Scope Changed
    Availability High

    Threat Intelligence

    EPSS 0.11% (44th percentile)
Expand this section
NVD
6.8 medium
Expand this section
Red Hat
6.8 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-MICROSOFTIDENTITYMODELJSONWEBTOKENS-6148656
  • published 9 Jan 2024
  • disclosed 9 Jan 2024
  • credit Unknown

How to fix?

Upgrade Microsoft.IdentityModel.JsonWebTokens to version 5.7.0, 6.34.0, 7.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Resource Exhaustion by processing JSON Web Encryption (JWE) tokens with a high compression ratio. An attacker can cause excessive memory allocation and processing time during decompression, leading to a denial-of-service condition. This is only exploitable if the attacker has access to the public encrypt key registered with the IDP (Entra ID).