Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1mdjJoLTc1M2otOWczOc4AA1-y

Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation

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:

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

Permalink: https://github.com/advisories/GHSA-fv2h-753j-9g39
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mdjJoLTc1M2otOWczOc4AA1-y
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 7 months ago
Updated: 6 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Identifiers: GHSA-fv2h-753j-9g39, CVE-2023-41890
References: Repository: https://github.com/Sustainsys/Saml2
Blast Radius: 1.0

Affected Packages

nuget:Sustainsys.Saml2
Dependent packages: 0
Dependent repositories: 0
Downloads: 6,516,467 total
Affected Version Ranges: >= 2.0.0, < 2.9.2, < 1.0.3
Fixed in: 2.9.2, 1.0.3
All affected versions: 0.23.0, 0.24.0, 1.0.0, 1.0.1, 1.0.2, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.9.1
All unaffected versions: 1.0.3, 2.9.2