Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzNzktcjc4dy00Mmgy

Unlimited transforms allowed for signed nodes

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

Permalink: https://github.com/advisories/GHSA-5379-r78w-42h2
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzNzktcjc4dy00Mmgy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 3 months ago


CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Identifiers: GHSA-5379-r78w-42h2, CVE-2021-39171
References: Repository: https://github.com/node-saml/passport-saml
Blast Radius: 17.4

Affected Packages

npm:passport-saml
Dependent packages: 115
Dependent repositories: 1,926
Downloads: 527,636 last month
Affected Version Ranges: < 3.1.0
Fixed in: 3.1.0
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.16.1, 0.16.2, 0.20.0, 0.20.2, 0.30.0, 0.31.0, 0.32.1, 0.33.0, 0.34.0, 0.35.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 2.0.1, 2.0.2, 2.0.4, 2.0.5, 2.0.6, 2.1.0, 2.2.0, 3.0.0
All unaffected versions: 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4