GHSA-fv2h-753j-9g39
Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation
Quick fix
GHSA-fv2h-753j-9g39 — Sustainsys.Saml2: upgrade to the fixed version with the command below.
dotnet add package Sustainsys.Saml2 --version 1.0.3Details
### Impact When a response is processed, the issuer of the Identity Provider is not sufficiently validated. This could allow a malicious identity provider to craft a Saml2 response that is processed as if issued by another identity provider. It is also possible for a malicious end user to cause stored state intended for one identity provider to be used when processing the response from another provider.
An application is impacted if they rely on any of these features in their authentication/authorization logic: * the issuer of the generated identity and claims * items in the stored request state (AuthenticationProperties)
### Patches Patched in version 2.9.2 and 1.0.3. All previous versions are vulnerable.
### Workarounds The `AcsCommandResultCreated` notification can be used to add the validation required if an upgrade to patched packages is not possible.
### References The patch is linked to https://github.com/Sustainsys/Saml2/issues/712 and https://github.com/Sustainsys/Saml2/issues/713
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.0.3dotnet add package Sustainsys.Saml2 --version 1.0.32.0.0Fixed in: 2.9.2dotnet add package Sustainsys.Saml2 --version 2.9.20No fixed version published yet for Kentor.AuthServices (nuget). Pin to a known-safe version or switch to an alternative.