Vulnerabilities in pkg:nuget/Kentor.AuthServices
PACKAGECVE-2023-41890 is a HIGH (CVSS 7.5) sustainsys.saml2 insufficient identity provider issuer vulnerability (CWE-294: Authentication Bypass by Capture-replay) affecting Sustainsys.Saml2 libraries in the NuGet ecosystem. The issue involves sustainsys.saml2 insufficient identity provider issuer validation. Remediation is available by upgrading affected packages to version 1.0.3, 2.9.2.
pkg:nuget/Kentor.AuthServices
Vulnerability advisories affecting package pkg:nuget/Kentor.AuthServices. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fv2h-753j-9g39 | CVE-2023-41890 | HIGH | Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation |
CVE-2023-41890 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2023-41890
To remediate this vulnerability, upgrade all affected Sustainsys.Saml2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Sustainsys.Saml2 to 1.0.3
Upgrade Sustainsys.Saml2 to 2.9.2
Upgrade Kentor.AuthServices to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Sustainsys.Saml2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-41890, inspect your project dependencies for Sustainsys.Saml2:
inspect dependencies for Sustainsys.Saml2
Analyze the terminal output to locate any version of Sustainsys.Saml2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-294: Authentication Bypass by Capture-replay, where a capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes). In Sustainsys.Saml2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-41890 Affected Sustainsys.Saml2 Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Sustainsys.Saml2
|
NuGet |
< 1.0.3
|
1.0.3
|
|
Sustainsys.Saml2
|
NuGet |
≥ 2.0.0
< 2.9.2
|
2.9.2
|
|
Kentor.AuthServices
|
NuGet |
≤ 0.23.0
|
|
References
Frequently Asked Questions
What is CVE-2023-41890?
Which Sustainsys.Saml2 versions are affected?
What version fixes CVE-2023-41890?
Is Sustainsys.Saml2 affected?
Is Kentor.AuthServices affected?
What is the CVSS score of CVE-2023-41890?
What CWE is associated with CVE-2023-41890?
How can I check NuGet dependencies for CVE-2023-41890?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fv2h-753j-9g39",
"modified" : "2024-10-11T15:37:58Z",
"published" : "2023-09-20T23:01:52Z",
"aliases" : [ "CVE-2023-41890" ],
"summary" : "Sustainsys.Saml2 Insufficient Identity Provider Issuer Validation",
"details" : "### Impact\nWhen 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.\n\nAn application is impacted if they rely on any of these features in their authentication/authorization logic:\n* the issuer of the generated identity and claims\n* items in the stored request state (AuthenticationProperties)\n\n### Patches\nPatched in version 2.9.2 and 1.0.3. All previous versions are vulnerable.\n\n### Workarounds\nThe `AcsCommandResultCreated` notification can be used to add the validation required if an upgrade to patched packages is not possible.\n\n### References\nThe patch is linked to https://github.com/Sustainsys/Saml2/issues/712 and https://github.com/Sustainsys/Saml2/issues/713\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Sustainsys.Saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Sustainsys.Saml2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.9.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Kentor.AuthServices"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.23.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-41890"
}, {
"type" : "WEB",
"url" : "https://github.com/Sustainsys/Saml2/issues/712"
}, {
"type" : "WEB",
"url" : "https://github.com/Sustainsys/Saml2/issues/713"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Sustainsys/Saml2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-289", "CWE-294" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-20T23:01:52Z",
"nvd_published_at" : "2023-09-19T15:15:52Z"
}
}