Files
CVEs-PoC/2021/CVE-2021-39171.md
2025-09-29 21:09:30 +02:00

18 lines
1003 B
Markdown

### [CVE-2021-39171](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39171)
![](https://img.shields.io/static/v1?label=Product&message=passport-saml&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%203.1.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brightgreen)
### 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.
### POC
#### Reference
- https://github.com/node-saml/passport-saml/pull/595
#### Github
- https://github.com/seal-community/cli