CVE-2021-20330
Specific replication command with malformed oplog entries can crash secondaries
6.5
MEDIUM
CVSS 3.1
EPSS 0.38%
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.
How to fix CVE-2021-20330
To remediate CVE-2021-20330, upgrade the affected package to a fixed version below.
- —upgrade to 4.0.25 or later
Is CVE-2021-20330 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 4.0.0, < 4.0.25, >= 4.2.0, < 4.2.14, >= 4.4.0, < 4.4.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |