-
Notifications
You must be signed in to change notification settings - Fork 434
Critical issues affecting version 7.0.0‐7.4.0
Bogdan Gavril edited this page Nov 12, 2025
·
2 revisions
An issue affects the deserialization of OIDC metadata in Microsoft.IdentityModel versions >=7.0.0 and < 7.4.0, which are several years old and are out of support. Packages on nuget.org were updated to note they contain a critical bug.
The issue is not related to security, but to availability. When the STS adds more fields to the OIDC document, the SDK hits the serialization bug. This causes the SDK to stop validating tokens.
Services combining Microsoft.IdentityModel.Protocols.OpenIdConnect version [7.0.0-7.4.0) with Microsoft.IdentityModel.Tokens 7.4.0+ are affected.
Conceptual Documentation
- Using TokenValidationParameters.ValidateIssuerSigningKey
- Scenarios
- Validating tokens
- Outbound policy claim type mapping
- How ASP.NET Core uses Microsoft.IdentityModel extensions for .NET
- Using a custom CryptoProvider
- SignedHttpRequest aka PoP (Proof-of-Possession)
- Creating and Validating JWEs (Json Web Encryptions)
- Caching in Microsoft.IdentityModel
- Resiliency on metadata refresh
- Use KeyVault extensions
- Signing key roll over