CVE-2021-20330Mongodb
Medium 6.5
Follow: this CVE · Mongodb · Mongodb We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Dec 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
An attacker with basic CRUD permissions on a replicated collection can run the applyOps command with specially malformed oplog entries, resulting in a potential denial of service on secondaries. This issue affects MongoDB Server v4.0 versions prior to 4.0.27; MongoDB Server v4.2 versions prior to 4.2.16; MongoDB Server v4.4 versions prior to 4.4.9.
What to do
- Apply the vendor's security update for Mongodb.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | mongodb | ≥ 4.0.0 < 4.0.25 |
| mongodb | mongodb | ≥ 4.2.0 < 4.2.14 |
| mongodb | mongodb | ≥ 4.4.0 < 4.4.6 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Patch Vendor Advisory