{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f1e00b64c21a725f545e675cd810bbaa435a3972"
            }
          ],
          "repo": "https://github.com/node-saml/passport-saml",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-39171",
  "modified": "2026-03-13T21:52:41.026717029Z",
  "published": "2021-08-27T22:15:07.267Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/node-saml/passport-saml/pull/595"
    }
  ],
  "related": [
    "GHSA-5379-r78w-42h2"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}