GitHub Advisoryadvisory · npm

GHSA-5379-r78w-42h2 Unlimited transforms allowed for signed nodes

MEDIUM Published 2021-08-30 Modified 2024-02-10 Official page ↗
Aliases
CVE-2021-39171
Ecosystem
npm
Packages
passport-saml
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400
Reviewed
2021-08-27

Affected packages

• npm passport-saml: < 3.1.0 → fixed in 3.1.0

Description

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

Related

Alias · CVE (1)

  • CVE-2021-39171 Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References