CVE-2022-39300

Source
https://cve.org/CVERecord?id=CVE-2022-39300
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39300.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-39300
Aliases
Published
2022-10-13T00:00:00Z
Modified
2026-07-08T06:04:19.451797499Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Signature bypass via multiple root elements in node-SAML
Details

node SAML is a SAML 2.0 library based on the SAML implementation of passport-saml. A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered. Users should upgrade to node-saml version 4.0.0-beta5 or newer. Disabling SAML authentication may be done as a workaround.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39300.json"
}
References

Affected packages

Git / github.com/node-saml/node-saml

Affected ranges

Type
GIT
Repo
https://github.com/node-saml/node-saml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.0.0"
        }
    ],
    "cpe": "cpe:2.3:a:node_saml_project:node_saml:*:*:*:*:*:node.js:*:*"
}

Affected versions

0.*
0.0.3
v0.*
v0.1.0
v0.10.0
v0.11.0
v0.11.1
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.16.1
v0.16.2
v0.2.0
v0.2.1
v0.20.2
v0.3.0
v0.30.0
v0.32.0
v0.32.1
v0.33.0
v0.34.0
v0.35.0
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.8.0
v0.9.0
v0.9.1
v0.9.2
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.3.2
v1.3.5
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v3.*
v3.0.0
v4.*
v4.0.0-beta.2
v4.0.0-beta.3
v4.0.0-beta.4
v4.0.0-beta.5
v4.0.0-beta.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39300.json"