# CVE-2021-39171: Unlimited transforms allowed for signed nodes

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-08-27T22:05:11.000Z
- Modified: 2026-07-08T06:29:28.325Z
- Also known as: GHSA-5379-r78w-42h2
- Weaknesses: CWE-400
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- node-saml passport-saml: < 3.1.0
- passport-saml (npm): before 3.1.0
- passport-saml_project passport-saml: before 3.1.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2> (third-party-advisory, web)
- <https://github.com/node-saml/passport-saml/pull/595> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39171> (advisory)
- <https://github.com/node-saml/passport-saml/commit/f1e00b64c21a725f545e675cd810bbaa435a3972> (web)
- <https://github.com/node-saml/passport-saml> (package)

## Sources

- CVE List: [CVE-2021-39171](https://www.cve.org/CVERecord?id=CVE-2021-39171), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-5379-r78w-42h2](https://github.com/advisories/GHSA-5379-r78w-42h2), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39171](https://nvd.nist.gov/vuln/detail/CVE-2021-39171), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39171 · Whole record: https://cve.day/CVE-2021-39171.json · Rebuilt by cve.day 2026-11-25T22:58:03.533Z
