System.IdentityModel.Tokens.Jwt is vulnerable to Authentication Bypass
65
CVE Score
Medium
Authentication Bypass
JwtSecurityTokenHandler resolves signing keys through a documented precedence chain when validating JWT signatures. Before the fix, a missing else allowed IssuerSigningKeyResolver to run after IssuerSigningKeyResolverUsingConfiguration, contrary to the documented contract and JsonWebTokenHandler behavior. Applications that configure both resolvers can validate signatures with keys from the less restrictive legacy resolver instead of configuration-derived keys. The fix adds else if so configuration-based resolution takes exclusive priority.
Upgrade the System.IdentityModel.Tokens.Jwt library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
7.0.0 - 7.7.1
Fixed in 7.7.2System.IdentityModel.Tokens.Jwt is vulnerable to Authentication Bypass in versions 7.0.0 - 7.7.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.