GHSA-8g9c-28fc-mcx2

Suggest an improvement
Source
https://github.com/advisories/GHSA-8g9c-28fc-mcx2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-8g9c-28fc-mcx2/GHSA-8g9c-28fc-mcx2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8g9c-28fc-mcx2
Related
Withdrawn
2024-04-11T20:42:09Z
Published
2024-01-09T18:28:03Z
Modified
2024-12-07T05:40:39.682247Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
Duplicate Advisory: Microsoft Identity Denial of service vulnerability
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-20"
    ],
    "nvd_published_at": "2024-01-09T19:15:12Z",
    "github_reviewed_at": "2024-01-09T18:28:03Z",
    "github_reviewed": true,
    "severity": "MODERATE"
}
References

Affected packages

NuGet

Microsoft.IdentityModel.JsonWebTokens

Package

Name
Microsoft.IdentityModel.JsonWebTokens
View open source insights on deps.dev
Purl
pkg:nuget/Microsoft.IdentityModel.JsonWebTokens

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.0

Affected versions

5.*

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"

Microsoft.IdentityModel.JsonWebTokens

Package

Name
Microsoft.IdentityModel.JsonWebTokens
View open source insights on deps.dev
Purl
pkg:nuget/Microsoft.IdentityModel.JsonWebTokens

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.34.0

Affected versions

6.*

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

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"

Microsoft.IdentityModel.JsonWebTokens

Package

Name
Microsoft.IdentityModel.JsonWebTokens
View open source insights on deps.dev
Purl
pkg:nuget/Microsoft.IdentityModel.JsonWebTokens

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0-preview
Fixed
7.1.2

Affected versions

7.*

7.0.0-preview
7.0.0-preview2
7.0.0-preview3
7.0.0-preview4
7.0.0-preview5
7.0.0
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"

System.IdentityModel.Tokens.Jwt

Package

Name
System.IdentityModel.Tokens.Jwt
View open source insights on deps.dev
Purl
pkg:nuget/System.IdentityModel.Tokens.Jwt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.0

Affected versions

1.*

1.0.0

3.*

3.0.0
3.0.1
3.0.2

4.*

4.0.0-alpha
4.0.0-beta1
4.0.0-RC1
4.0.0-RC1-10701-1147
4.0.0-RC2
4.0.0
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.*

5.0.0-beta7-208241120
5.0.0-beta8-210131116
5.0.0-rc1-211161024
5.0.0-rc2-305061149
5.0.0
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-preview1-408290725
5.2.0-preview2-41113220915
5.2.0
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"

System.IdentityModel.Tokens.Jwt

Package

Name
System.IdentityModel.Tokens.Jwt
View open source insights on deps.dev
Purl
pkg:nuget/System.IdentityModel.Tokens.Jwt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.34.0

Affected versions

6.*

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

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"

System.IdentityModel.Tokens.Jwt

Package

Name
System.IdentityModel.Tokens.Jwt
View open source insights on deps.dev
Purl
pkg:nuget/System.IdentityModel.Tokens.Jwt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0-preview
Fixed
7.1.2

Affected versions

7.*

7.0.0-preview
7.0.0-preview2
7.0.0-preview3
7.0.0-preview4
7.0.0-preview5
7.0.0
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"