Vulnerability · Published Jan 10, 2024 · Assigned by GitHub_M

CVE-2024-21643Microsoft.IdentityModel.Protocols.SignedHttpRequest remote code execution vulnerability

High 7.1

In plain English

A high-severity code injection in azure-activedirectory-identitymodel-extensions-for-dotnet from AzureAD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)2.2%top 17.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

IdentityModel Extensions for .NET provide assemblies for web developers that wish to use federated identity providers for establishing the caller's identity. Anyone leveraging the `SignedHttpRequest`protocol or the `SignedHttpRequestValidator`is vulnerable. Microsoft.IdentityModel trusts the `jku`claim by default for the `SignedHttpRequest`protocol. This raises the possibility to make any remote or local `HTTP GET` request. The vulnerability has been fixed in Microsoft.IdentityModel.Protocols.SignedHttpRequest. Users should update all their Microsoft.IdentityModel versions to 7.1.2 (for 7x) or higher, 6.34.0 (for 6x) or higher.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetmicrosoft.identitymodel.protocols.signedhttprequest6.34.0GHSA-rv9j-c866-gp5h
NuGetmicrosoft.identitymodel.protocols.signedhttprequest7.1.2GHSA-rv9j-c866-gp5h

Affected products (as reported)

VendorProductVersions
AzureAD azure-activedirectory-identitymodel-extensions-for-dotnet < 6.34.0>= 7.0.0-preview, < 7.1.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

References