AspNetSaml is vulnerable to Authentication Bypass
81
High Risk
AspNetSaml validates SAML response signatures and expiration but does not verify the assertion audience against the service provider EntityID. An assertion issued for one service provider can be reused against another application that trusts the same identity provider. This can let an authenticated user gain access to the wrong service provider with a valid but mis-scoped assertion. The fix adds IsValid(string audienceEntityId) and rejects responses whose AudienceRestriction does not contain the expected SP EntityID.
You are affected if you are using a version that falls within the vulnerable range.
AspNetSaml is vulnerable to Authentication Bypass in versions 1.2.0 - 2.1.5.
Upgrade the AspNetSaml library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant