Skip to main content

CVE-2023-41890 — Vulnerability in Sustainsys.Saml2 — CVE Details

HIGH

Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation

Published September 20, 2023Updated October 14, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.87%). Schedule for your next planned update.

Does your project use an affected Sustainsys.Saml2 version?

Paste your packages.lock.json to check it for CVE-2023-41890 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

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

Advisory Timeline

  • First published September 20, 2023 (1163 days ago).
  • Last revised October 14, 2024 — 390 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Sustainsys.Saml2 to 2.9.2 or later
dotnet add package Sustainsys.Saml2 --version 2.9.2
NuGet
Update Sustainsys.Saml2 to 1.0.3 or later
dotnet add package Sustainsys.Saml2 --version 1.0.3

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: NuGet (2).

PackageFixed In
Sustainsys.Saml2 NuGet · Affected: 2.0.0, 2.1.0, 2.2.0, 2.3.0 (+7 more)2.9.2
Sustainsys.Saml2 NuGet · Affected: 0.23.0, 0.24.0, 1.0.0, 1.0.1 (+1 more)1.0.3
Kentor.AuthServices NuGet · Affected: 0.1.0, 0.10.0, 0.11.0, 0.12.0 (+28 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

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

Frequently Asked Questions

What is CVE-2023-41890?
Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2023-41890?
CVE-2023-41890 affects Sustainsys.Saml2 and Kentor.AuthServices. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-41890 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.87%
EPSS percentile: 56.4

This is an above-median EPSS score — 56.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-fv2h-753j-9g39

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json