{"id":"CVE-2021-39171","state":"PUBLISHED","title":"Unlimited transforms allowed for signed nodes","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.","publishedAt":"2021-08-27T22:05:11.000Z","updatedAt":"2024-08-04T01:58:18.150Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["node-saml passport-saml"],"affected":[{"vendor":"node-saml","product":"passport-saml","versions":[{"version":"< 3.1.0","status":"affected"}]}],"references":["https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2","https://github.com/node-saml/passport-saml/pull/595"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:48:52.666Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/39xxx/CVE-2021-39171.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-39171","state":"PUBLISHED","datePublished":"2021-08-27T22:05:11.000Z","dateUpdated":"2024-08-04T01:58:18.150Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-08-16T00:00:00.000Z"},"containers":{"cna":{"title":"Unlimited transforms allowed for signed nodes","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"node-saml","product":"passport-saml","versions":[{"version":"< 3.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-saml/passport-saml/pull/595","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-08-27T22:05:11.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-5379-r78w-42h2","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-39171","STATE":"PUBLIC","TITLE":"Unlimited transforms allowed for signed nodes"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"passport-saml","version":{"version_data":[{"version_value":"< 3.1.0"}]}}]},"vendor_name":"node-saml"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400: Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2","refsource":"CONFIRM","url":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"},{"name":"https://github.com/node-saml/passport-saml/pull/595","refsource":"MISC","url":"https://github.com/node-saml/passport-saml/pull/595"}]},"source":{"advisory":"GHSA-5379-r78w-42h2","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/node-saml/passport-saml/pull/595","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:58:18.150Z"}}]}}}