All reports
Medium

mongodb: specific replication command with malformed oplog entries can crash secondaries

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-20330

Probability of exploitation in the next 30 days: 1.08%

FIRST EPSS · 2026-11-24

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.

A denial of service attack was found in MongoDB. 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.