LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32037: User may trigger invariant when allowed to send commands directly to shards

An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.2.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A logged-in MongoDB user could cause a server crash by sending a relevant aggregation request directly to a shard. Normal deployments route users through mongos, and direct shard access usually requires shard addresses and credentials. The main business risk is database availability disruption in affected MongoDB 5.0 deployments.

Executive priority

Treat as a targeted availability risk, not an emergency internet-wide issue. Prioritize remediation for production sharded clusters, especially where shard members are reachable outside tightly controlled administrative networks.

Technical view

CVE-2021-32037 is a CWE-617 reachable assertion issue in MongoDB Server 5.0 through 5.0.2. An authorized user with direct shard access may trigger an invariant, causing denial of service or server exit. CVSS 3.1 is 6.5, driven by low-complexity network access, low privileges, and high availability impact.

Likely exposure

Exposure is most likely in sharded MongoDB 5.0 environments at or below 5.0.2 where users or applications can authenticate directly to shards instead of only through mongos.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. Exploitation requires an authorized user and direct shard access, which narrows practical reach in properly segmented, auth-enabled deployments.

Researcher notes

Key constraints are authorization and direct shard access. The public description does not provide detailed request structure or operational indicators beyond invariant-triggered denial of service/server exit from relevant aggregation sent to a shard.

Mitigation direction

  • Upgrade affected MongoDB Server 5.0 deployments beyond version 5.0.2 using vendor guidance.
  • Restrict direct network access to shard servers from user and application networks.
  • Ensure applications connect through mongos rather than directly to shards.
  • Review accounts that can authenticate to shard members directly.
  • Monitor vendor advisories for any additional remediation details.

Validation and detection

  • Inventory MongoDB Server versions and flag 5.0 through 5.0.2.
  • Identify sharded clusters and confirm shard members are not broadly reachable.
  • Review connection strings for direct shard endpoints.
  • Audit users with credentials valid on shard servers.
  • Check logs for unexpected server exits around aggregation activity.
Prepared
Confidence
high
Sources
3

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-617: 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-32037 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
6.5 (3.1)
Known Exploited
No
Published

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

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
2Source 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
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

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

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

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MongoDB Inc.MongoDB Server5.0unaffected
Weakness

CWE details

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

CWE-617 · source CWE mapping

Reachable Assertion

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