{"id":"CVE-2021-39171","details":"Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. Prior to version 3.1.0, a malicious SAML payload can require transforms that consume significant system resources to process, thereby resulting in reduced or denied service. This would be an effective way to perform a denial-of-service attack. This has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2.","aliases":["GHSA-5379-r78w-42h2"],"modified":"2026-07-09T12:20:04.467942Z","published":"2021-08-27T22:15:07.267Z","references":[{"type":"ADVISORY","url":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"},{"type":"FIX","url":"https://github.com/node-saml/passport-saml/pull/595"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/node-saml/passport-saml","events":[{"introduced":"0"},{"fixed":"f1e00b64c21a725f545e675cd810bbaa435a3972"}],"database_specific":{"cpe":"cpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.0"}],"source":"CPE_RANGE"}}],"versions":["v3.0.0","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.5","v1.3.2","v1.3.1","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.35.0","v0.34.0","v0.33.0","v0.32.1","v0.32.0","v0.30.0","v0.20.2","v0.16.2","v0.16.1","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.0","v0.9.2","v0.9.1","v0.9.0","v0.8.0","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.0","v0.0.3","0.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39171.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}