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/pull/595
https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2
Related Vulnerabilities
CVE-2014-0035 Vulnerability in maven package org.apache.cxf:cxf-rt-ws-security
CVE-2022-0144 Vulnerability in npm package shelljs
CVE-2022-47042 Vulnerability in maven package net.mingsoft:ms-mcms
CVE-2023-50719 Vulnerability in maven package org.xwiki.platform:xwiki-platform-search-solr-api
CVE-2023-31544 Vulnerability in maven package org.opencms:opencms-core