LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39171: Unlimited transforms allowed for signed nodes

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue can let an attacker make a SAML login service spend excessive resources processing a malicious authentication message. The expected business impact is service degradation or outage for affected SSO flows, not data theft or account takeover based on the provided sources.

Executive priority

Treat as a moderate availability risk for systems relying on SAML SSO. Patch promptly where vulnerable versions protect public or business-critical login paths, but the provided evidence does not indicate confidentiality compromise or known active exploitation.

Technical view

Passport-SAML before 3.1.0 did not limit the number of transforms allowed for signed nodes. A malicious SAML payload could force expensive transform processing and reduce or deny service. Version 3.1.0 fixes this by limiting allowable transforms to two.

Likely exposure

Exposure is likely limited to Node.js applications using node-saml/passport-saml versions earlier than 3.1.0 for SAML authentication. Internet-facing SSO endpoints are the main concern. The source bundle does not identify specific downstream products or CPEs.

Exploitation context

The CVSS vector indicates network access, low complexity, no privileges, and no user interaction. The impact is availability only. The CVE is not listed as KEV in the provided bundle, and no cited source here confirms active exploitation.

Researcher notes

This is CWE-400 resource consumption with CVSS 3.1 score 5.3. The important validation question is whether signed-node transform handling comes from passport-saml below 3.1.0 in a reachable SAML flow. Avoid assuming broader SAML library impact without dependency evidence.

Mitigation direction

  • Upgrade passport-saml to version 3.1.0 or later.
  • Confirm the deployed lockfile resolves passport-saml at a fixed, non-vulnerable version.
  • Prioritize applications with public SAML login endpoints.
  • Review the GitHub advisory before choosing any alternate remediation path.

Validation and detection

  • Inventory applications using node-saml/passport-saml.
  • Check package manifests and lockfiles for versions below 3.1.0.
  • Confirm production deployments run the remediated dependency version.
  • Review SAML authentication service monitoring for availability anomalies.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-400: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39171 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2021-39171Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
node-samlpassport-saml< 3.1.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-400 · source CWE mapping

Uncontrolled Resource Consumption

Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.