Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-39171 EUVD-2021-1569GHSA-5379-r78w-42h2

Unlimited transforms allowed for signed nodes

Published Aug 27, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
node-saml passport-saml < 3.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm passport-saml < 3.1.0 3.1.0 GHSA-5379-r78w-42h2

References