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: about 1 year ago
Updated: about 2 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

EPSS Percentage: 0.00075
EPSS Percentile: 0.33512

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

Affected Packages

nuget:Kentor.AuthServices
Dependent packages: 2
Dependent repositories: 0
Downloads: 1,135,037 total
Affected Version Ranges: <= 0.23.0
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.5.2, 0.6.0, 0.6.2, 0.7.0, 0.7.2, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.17.0, 0.17.1, 0.17.2, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.21.2, 0.22.0, 0.23.0
nuget:Sustainsys.Saml2
Dependent packages: 7
Dependent repositories: 0
Downloads: 8,502,554 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, 2.10.0