Live threats

All CVEs / Mongodb

CVE-2021-20330Mongodb

Medium 6.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mongodb.

Affected products (CPE)

VendorProductVersions
mongodbmongodb≥ 4.0.0 < 4.0.25
mongodbmongodb≥ 4.2.0 < 4.2.14
mongodbmongodb≥ 4.4.0 < 4.4.6

Official sources

References

Links published by the sources. Open them with care.