{"id":"GHSA-5379-r78w-42h2","summary":"Unlimited transforms allowed for signed nodes","details":"### Impact\nA 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.\n\n### Patches\nThis has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2.\n\n### References\nhttps://github.com/node-saml/passport-saml/pull/595\n","aliases":["CVE-2021-39171"],"modified":"2026-07-08T06:29:28.325301586Z","published":"2021-08-30T16:11:57Z","database_specific":{"github_reviewed_at":"2021-08-27T23:25:28Z","nvd_published_at":"2021-08-27T22:15:00Z","cwe_ids":["CWE-400"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39171"},{"type":"WEB","url":"https://github.com/node-saml/passport-saml/pull/595"},{"type":"WEB","url":"https://github.com/node-saml/passport-saml/commit/f1e00b64c21a725f545e675cd810bbaa435a3972"},{"type":"PACKAGE","url":"https://github.com/node-saml/passport-saml"}],"affected":[{"package":{"name":"passport-saml","ecosystem":"npm","purl":"pkg:npm/passport-saml"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-5379-r78w-42h2/GHSA-5379-r78w-42h2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}