6.5medium
Specific replication command with malformed oplog entries can crash secondaries
- Severity
- 6.5medium CVSS:3.1 by mongodb
- Exploit likelihood
- 1.08% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2021-20330
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc. MongoDB Server | from 4.0 before 4.0.27, from 4.2 before 4.2.16, from 4.4 before 4.4.9 | CVE List |
| mongodb mongodb | from 4.0 before 4.0.27, from 4.2 before 4.2.18, from 4.4 before 4.4.9, from 4.0.0 before 4.0.25, from 4.2.0 before 4.2.14, from 4.4.0 before 4.4.6 | CVE List, NVD |
| mongodb (Bitnami) | from 4.0.0 before 4.0.25, from 4.2.0 before 4.2.14, from 4.4.0 before 4.4.6 | Bitnami Vulnerability Database |
All scores
| mongodb | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Un atacante con permisos CRUD básicos en una colección replicada puede ejecutar el comando applyOps con entradas oplog especialmente malformadas, resultando en una potencial denegación de servicio en los secundarios. Este problema afecta a las versiones de MongoDB Server v4.0 anteriores a 4.0.25; a las versiones de MongoDB Server v4.2 anteriores a 4.2.14; a las versiones de MongoDB Server v4.4 anteriores a 4.4.6
References
| https://jira.mongodb.org/browse/SERVER-36263 | advisory, issue-tracking, patch, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-20330 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20330 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2021-20330 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2021-20330 changed 2026-09-08 | Apache-2.0 |