ADVISORIES

GitHub Advisory Database

GHSA-5379-r78w-42h2

Unlimited transforms allowed for signed nodes

Moderate CVE-2021-39171

Details

Impact

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.

Patches

This has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2.

References

https://github.com/node-saml/passport-saml/pull/595

Affected packages

EcosystemPackageAffected versions
npmpassport-saml
All versions before 3.1.0 (fixed in 3.1.0)

References