Description
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.
Remediation
References
https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2
https://github.com/node-saml/passport-saml/pull/595
Related Vulnerabilities
CVE-2017-16008 Vulnerability in npm package i18next
CVE-2020-27543 Vulnerability in npm package restify-paginate
CVE-2022-31197 Vulnerability in maven package org.postgresql:postgresql
CVE-2021-23429 Vulnerability in npm package transpile
CVE-2018-16330 Vulnerability in maven package org.webjars.bower:editor.md