CVE-2021-39171
mediumpriority · track · 30EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-22
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- passport-saml project passport-saml< 3.1.0nvdUScpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-5379-r78w-42h2Unlimited transforms allowed for signed nodes2021-08-30ghsa · osvUS
### Impact 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. ### Patches This has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2. ### References https://github.com/node-saml/passport-saml/pull/595
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/node-saml/passport-saml/pull/595cnnvd
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021090816cnnvd
- https://github.com/node-saml/passport-saml/pull/595enisa_euvd
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2enisa_euvd
- https://github.com/node-saml/passport-saml/pull/595PatchThird Party Advisorynvd
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan