All vulnerabilities

Servers and applications

CVE-2021-20330

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.

Severity
Medium 6.5
Published
15 Dec 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
4.0.25, 4.2.14, 4.4.6
Sources
NVD

Affected software

SoftwareAffected versions
MongoDBServers and applications · cpe:a:mongodb:mongodb
  • From 4.0.0 before 4.0.25
  • From 4.2.0 before 4.2.14
  • From 4.4.0 before 4.4.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-20330
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-20330