{
  "schema_version": "1.4.0",
  "id": "GHSA-5379-r78w-42h2",
  "modified": "2024-02-10T00:55:45Z",
  "published": "2021-08-30T16:11:57Z",
  "aliases": [
    "CVE-2021-39171"
  ],
  "summary": "Unlimited transforms allowed for signed nodes",
  "details": "### Impact\nA 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.\n\n### Patches\nThis has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2.\n\n### References\nhttps://github.com/node-saml/passport-saml/pull/595\n",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "passport-saml"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39171"
    },
    {
      "type": "WEB",
      "url": "https://github.com/node-saml/passport-saml/pull/595"
    },
    {
      "type": "WEB",
      "url": "https://github.com/node-saml/passport-saml/commit/f1e00b64c21a725f545e675cd810bbaa435a3972"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/node-saml/passport-saml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-27T23:25:28Z",
    "nvd_published_at": "2021-08-27T22:15:00Z"
  }
}