CVE-2023-41890Sustainsys Saml2
High 7.5 No auth needed
Follow: this CVE · Sustainsys · Sustainsys Saml2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- Published
- Sep 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
Sustainsys.Saml2 library adds SAML2P support to ASP.NET web sites, allowing the web site to act as a SAML2 Service Provider.
Prior to versions 1.0.3 and 2.9.2, 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; or items in the stored request state (AuthenticationProperties). This issue is patched in versions 2.9.2 and 1.0.3. The `AcsCommandResultCreated` notification can be used to add the validation required if an upgrade to patched packages is not possible.
What to do
- Apply the vendor's security update for Saml2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Kentor.AuthServices |
≤ 0.23.0 |
no fixed version | — |
| NuGet | Sustainsys.Saml2 |
< 1.0.3 |
1.0.3 |
dotnet add package Sustainsys.Saml2 --version 1.0.3 |
| NuGet | Sustainsys.Saml2 |
≥ 2.0.0 < 2.9.2 |
2.9.2 |
dotnet add package Sustainsys.Saml2 --version 2.9.2 |
Per OSV / GitHub Advisories (GHSA-fv2h-753j-9g39). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sustainsys | saml2 | < 1.0.3 |
| sustainsys | saml2 | ≥ 2.0.0 < 2.9.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Third Party Advisory