GitHub Advisoryadvisory · NuGet
GHSA-rv9j-c866-gp5h Microsoft.IdentityModel.Protocols.SignedHttpRequest remote code execution vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-21643
- Ecosystem
- NuGet
- Packages
- Microsoft.IdentityModel.Protocols.SignedHttpRequest
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-94
- Reviewed
- 2024-01-09
Affected packages
• NuGet Microsoft.IdentityModel.Protocols.SignedHttpRequest: < 6.34.0 → fixed in 6.34.0
• NuGet Microsoft.IdentityModel.Protocols.SignedHttpRequest: >= 7.0.0-preview, < 7.1.2 → fixed in 7.1.2
Description
Impact
_What kind of vulnerability is it? Who is impacted?_
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.
Patches
_Has the problem been patched? What versions should users upgrade to?_
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, if using Microsoft.IdentityModel.Protocols.SignedHttpRequest.
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
No, users must upgrade.
References
_Are there any links users can visit to find out more?_
https://aka.ms/IdentityModel/Jan2024/jku
Related
Alias · CVE (1)
- CVE-2024-21643 IdentityModel Extensions for .NET provide assemblies for web developers that wish to use federated identity providers for establishing the… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/security/advisories/GHSA-rv9j-c866-gp5h web
- https://nvd.nist.gov/vuln/detail/CVE-2024-21643 advisory
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet package
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/6.34.0 web
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.1.2 web
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/jkucve web