Advisory

GHSA-5379-r78w-42h2

Also known as: CVE-2021-39171

Summary

Unlimited transforms allowed for signed nodes

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-30 16:11 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

passport-saml

npm · All systems

Affected

  • introduced 0, fixed 3.1.0 (semver)

Fixed versions

3.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences