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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-11-24 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2021-32037
- Record: https://cvemate.com/vulnerability/CVE-2021-32037 · JSON: https://cvemate.com/vulnerability/CVE-2021-32037/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.236%, percentile 70.053%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb server: ≥ 5.0, ≤ 5.0.2
- mongodb mongodb: ≥ 5.0.0, ≤ 5.0.2

## References

- <https://jira.mongodb.org/browse/SERVER-59071>
- <https://ubuntu.com/security/CVE-2021-32037>
- <https://www.cve.org/CVERecord?id=CVE-2021-32037>

---

Data as of 2026-12-05T13:50:42.351Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
