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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | microsoft.identitymodel.protocols.signedhttprequest | 6.34.0 | GHSA-rv9j-c866-gp5h |
| NuGet | microsoft.identitymodel.protocols.signedhttprequest | 7.1.2 | GHSA-rv9j-c866-gp5h |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/security/advisories/GHSA-rv9j-c866-gp5h x_refsource_CONFIRM
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/6.34.0 x_refsource_MISC
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.1.2 x_refsource_MISC
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/jkucve x_refsource_MISC