Skip to content

CVE-2021-39171 Unlimited transforms allowed for signed nodes

HighCVSS 7.5 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm passport-saml(npm) < 3.1.0 3.1.0 Fixed
passport-saml project passport-saml < 3.1.0 3.1.0 Fixed
node-saml @node-saml/passport-saml = < 3.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm passport-saml(npm) < 3.1.0 3.1.0
passport-saml project passport-saml < 3.1.0 3.1.0
node-saml @node-saml/passport-saml = < 3.1.0 No fix listed

References