CVE-2021-20330

Specific replication command with malformed oplog entries can crash secondaries

State
Published
Severity
6.5 Medium
Published
Dec 15, 2021
Updated
Sep 16, 2024
Reserved
Dec 17, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc.
  • 4.0 to before 4.0.27Affected
  • 4.2 to before 4.2.16Affected
  • 4.4 to before 4.4.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.