Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-21643

CVE-2024-21643: IdentityModel Extensions for .NET RCE Flaw

CVE-2024-21643 is a remote code execution vulnerability in Microsoft IdentityModel Extensions for .NET affecting SignedHttpRequest protocol implementations. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2024-21643 Overview

CVE-2024-21643 is a Server-Side Request Forgery (SSRF) vulnerability affecting IdentityModel Extensions for .NET, a collection of assemblies for web developers utilizing federated identity providers. The vulnerability exists in the SignedHttpRequest protocol implementation, where the library trusts the jku (JSON Web Key Set URL) claim by default without proper validation. This allows attackers to force the application to make arbitrary HTTP GET requests to remote or local endpoints.

Critical Impact

Attackers with low privileges can exploit the trusted jku claim to perform Server-Side Request Forgery attacks, potentially accessing internal services, exfiltrating sensitive data, or pivoting to other network resources.

Affected Products

  • Microsoft IdentityModel Extensions for .NET versions prior to 7.1.2 (7.x branch)
  • Microsoft IdentityModel Extensions for .NET versions prior to 6.34.0 (6.x branch)
  • Applications using SignedHttpRequest protocol or SignedHttpRequestValidator

Discovery Timeline

  • 2024-01-10 - CVE-2024-21643 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-21643

Vulnerability Analysis

This vulnerability stems from improper trust handling in the SignedHttpRequest protocol implementation within Microsoft.IdentityModel.Protocols.SignedHttpRequest. The jku (JSON Web Key Set URL) claim in a signed HTTP request specifies where the public key can be retrieved to verify the signature. By default, the library trusts this claim without proper validation, creating an SSRF condition.

When processing a signed HTTP request, the SignedHttpRequestValidator automatically fetches the JSON Web Key Set from the URL specified in the jku claim. An attacker can craft a malicious signed request with a jku claim pointing to internal services, cloud metadata endpoints, or other sensitive resources. The server will then make an HTTP GET request to the attacker-controlled URL, potentially exposing internal data or enabling further attacks.

The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), reflecting the risk of code injection through the untrusted claim processing.

Root Cause

The root cause is the default trust behavior for the jku claim in the SignedHttpRequest protocol implementation. The library fails to validate or restrict the URLs that can be specified in the jku claim, allowing any URL to be fetched. This design decision prioritizes convenience over security, as it assumes the jku claim originates from a trusted source.

The vulnerable code path exists in Microsoft.IdentityModel.Protocols.SignedHttpRequest where the SignedHttpRequestValidator processes incoming requests and automatically resolves the key set URL without URL allowlisting or validation.

Attack Vector

The attack vector is network-based and requires low privileges to execute. An authenticated attacker can exploit this vulnerability by:

  1. Crafting a signed HTTP request with a malicious jku claim pointing to an internal endpoint (e.g., cloud metadata services, internal APIs)
  2. Submitting the request to an application using the vulnerable SignedHttpRequestValidator
  3. The application automatically fetches the URL specified in jku, making the HTTP GET request on behalf of the attacker
  4. The response or side effects from this request can leak sensitive information or enable further exploitation

The vulnerability can be exploited to access cloud metadata services (AWS IMDSv1, Azure IMDS), internal microservices, configuration endpoints, or perform port scanning of internal networks. Since the request originates from the trusted application server, it may bypass network-level access controls.

Detection Methods for CVE-2024-21643

Indicators of Compromise

  • Unusual outbound HTTP GET requests from application servers to internal IP ranges or localhost
  • HTTP requests to cloud metadata endpoints (e.g., 169.254.169.254) from unexpected sources
  • Signed HTTP requests containing jku claims pointing to internal or suspicious URLs
  • Unexpected network connections from .NET application processes to internal services

Detection Strategies

  • Monitor application logs for SignedHttpRequest validation events with unusual jku URLs
  • Implement network-level monitoring for outbound connections from application servers to internal IP ranges
  • Configure Web Application Firewalls (WAF) to inspect and alert on signed requests with suspicious jku claims
  • Review audit logs for authentication requests containing external or internal URL references in JWT-related claims

Monitoring Recommendations

  • Enable detailed logging for the IdentityModel library to capture jku claim values during request processing
  • Set up alerts for outbound HTTP requests from application servers to RFC 1918 private IP ranges
  • Monitor cloud metadata service access patterns for anomalous requests
  • Implement network segmentation monitoring to detect lateral movement attempts via SSRF

How to Mitigate CVE-2024-21643

Immediate Actions Required

  • Update Microsoft.IdentityModel packages to version 7.1.2 or higher for the 7.x branch
  • Update Microsoft.IdentityModel packages to version 6.34.0 or higher for the 6.x branch
  • Audit all applications using SignedHttpRequest protocol or SignedHttpRequestValidator
  • Review network egress rules to restrict outbound connections from application servers

Patch Information

Microsoft has released security patches that address this vulnerability by implementing proper validation of the jku claim. The fixes are available in:

  • Microsoft.IdentityModel.Protocols.SignedHttpRequest version 7.1.2
  • Microsoft.IdentityModel.Protocols.SignedHttpRequest version 6.34.0

For detailed information about the vulnerability and remediation steps, refer to the GitHub Security Advisory GHSA-rv9j-c866-gp5h and the JKU CVE wiki article.

Workarounds

  • Implement URL allowlisting at the network level to prevent the application from making requests to internal endpoints
  • Configure egress firewall rules to block access to cloud metadata services and internal IP ranges
  • Consider disabling the SignedHttpRequest protocol if not required for your application
  • Implement a reverse proxy or security gateway that validates jku claims before they reach the application
bash
# Example: Update NuGet packages to patched versions
dotnet add package Microsoft.IdentityModel.Protocols.SignedHttpRequest --version 7.1.2

# For 6.x branch
dotnet add package Microsoft.IdentityModel.Protocols.SignedHttpRequest --version 6.34.0

# Verify installed package versions
dotnet list package --include-transitive | grep -i identitymodel

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Identitymodel Extensions

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.63%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Release 6.34.0

  • GitHub Release 7.1.2
  • Vendor Resources
  • GitHub Security Advisory GHSA-rv9j-c866-gp5h

  • GitHub Wiki Article on JKUCVE
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English