CVE-2021-39171
MEDIUM5.3EPSS 0.47%Unlimited transforms allowed for signed nodes
Published: 8/30/2021Modified: 3/13/2026
Also known as:GHSA-5379-r78w-42h2
Description
### 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 (1)
- npm/passport-samlfrom 0, < 3.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-39171
- PATCHhttps://github.com/node-saml/passport-saml
- WEBhttps://github.com/node-saml/passport-saml/commit/f1e00b64c21a725f545e675cd810bbaa435a3972
- WEBhttps://github.com/node-saml/passport-saml/pull/595
- WEBhttps://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2