CVE-2023-41890 — Vulnerability in Sustainsys.Saml2 — CVE Details
Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation
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.
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.
dotnet add package Sustainsys.Saml2 --version 2.9.2
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).
| Package | Fixed 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.
- CWE-289
- CWE-294
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
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
Significant impact if exploited, or exploitable with modest effort.
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
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2020-5261HIGH
Missing Token Replay Detection in Saml2 Authentication services for ASP.NET
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
- CVE-2020-5268MEDIUM
Subject Confirmation Method not validated in Saml2 Authentication Services for ASP.NET