CVE-2021-20330

published 15 Dec 2021 · updated 16 Sep 2024

Specific replication command with malformed oplog entries can crash secondaries

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Server 4.0.27, Server 4.2.16 and Server 4.4.9.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=4.0 <4.0.27, >=4.2 <4.2.16, >=4.4 <4.4.94.0.27, 4.2.16, 4.4.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-20330 severity on Zeptric[![CVE-2021-20330](https://zeptric.io/badge/cve/CVE-2021-20330.svg)](https://zeptric.io/cve/CVE-2021-20330)