medium5.3
CVE-2021-39171
Unlimited transforms allowed for signed nodes
Impact
### 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
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | passport-saml | < 3.1.0 | 3.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Passport-Saml Project | Passport-Saml | before 3.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/node-saml/passport-saml/pull/595
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2
- https://github.com/advisories/GHSA-5379-r78w-42h2
- https://nvd.nist.gov/vuln/detail/CVE-2021-39171
- https://github.com/node-saml/passport-saml/commit/f1e00b64c21a725f545e675cd810bbaa435a3972