CVE-2021-20330: mongodb inc mongodb server Improper Input Validation
Vulnerability summary
CVE-2021-20330 is a medium (CVSS 6.5) Improper Input Validation vulnerability in mongodb inc mongodb server. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities.
Timeline
- 15-12-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.08%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
+0.04 pp
From 1.04% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mongodb1 product
- mongodb≥ 4.0.0, < 4.0.25 | ≥ 4.2.0, < 4.2.14 | ≥ 4.4.0, < 4.4.6
Mongodb inc1 product
- mongodb server≥ 4.0, < 4.0.27 | ≥ 4.2, < 4.2.16 | ≥ 4.4, < 4.4.9
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 3 products