CVE-2021-39171
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.32% probability · 69th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- passport-saml project/passport-saml
- Source
- security-advisories@github.com
References
- https://github.com/node-saml/passport-saml/pull/595Patch, Third Party Advisory
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2Third Party Advisory
- https://github.com/node-saml/passport-saml/pull/595Patch, Third Party Advisory
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.