Unlimited transforms allowed for signed nodesGHSA-5379-r78w-42h2
MEDIUMFix: node-saml/passport-saml#595GHSA-5379-r78w-42h2 is a medium-severity (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in passport-saml. A fix is available for passport-saml — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.
passport-samlnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | passport-saml | all versions | 3.1.0npm install passport-saml@3.1.0 |
Affected Products
passport-samlpassport-saml_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for passport-saml, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update passport-saml to 3.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5379-r78w-42h2 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-5379-r78w-42h2 in your dependencies?
Find it across npm, including transitive dependencies.