CVE-2021-32037 json
User may trigger invariant when allowed to send commands directly to shards
published 2021-11-24 4 y ago modified 2026-09-08 2 mo ago also BIT-mongodb-2021-32037 , EUVD-2021-18903
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami mongodb 5.0.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32037 updated cvss 6.5
mongodb: Using $sample can trigger invariant when connecting directly to shards
-
Red Hat OpenStack Platform 10 (Newton) mongodb, mongodb-serveraffected: workaround, no fix planned “Out of support scope”
-
Red Hat Update Infrastructure 3 for Cloud Providers mongodbnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mongodb | >=5.0.0, <5.0.3 |
5.0.3 |
Affected products
- MongoDB Inc. MongoDB Server
- mongodb mongodb
Classification
- Weakness
-
- CWE-617 Reachable Assertion
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-59071
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32037
web
Sources
- CVE List CVE-2021-32037
- NVD CVE-2021-32037
- OSV BIT-mongodb-2021-32037
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.