---
title: "CVE-2021-20330: MongoDB Inc. MongoDB Server Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-20330: MongoDB Inc. MongoDB Server Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-20330 is a published software vulnerability affecting MongoDB Inc. MongoDB Server. CVSS base score: 6.5 (MEDIUM). Published December 15, 2021 by 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. This issue affects MongoDB Server v4.0 versions prior to 4.0.27; MongoDB Server v4.2 versions prior to.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-20330
- Status: Published
- Affected vendor: MongoDB Inc.
- Affected product: MongoDB Server
- Assigner CNA: mongodb
- Published date: December 15, 2021
- Last updated: September 16, 2024
- CVSS base score: 6.5 (MEDIUM)
- CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE): CWE-20 Improper Input Validation

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Chimney sweeps in the United States](https://specstream.ai/data/businesses/chimney-sweeps/united-states)
- [Acupuncture clinics in the United States](https://specstream.ai/data/businesses/acupuncture-clinics/united-states)
- [Salvadoran restaurants in the United States](https://specstream.ai/data/businesses/salvadoran-restaurants/united-states)
- [Medical billing companies in the United States](https://specstream.ai/data/businesses/medical-billing-companies/united-states)
- [Food and beverage consultants in the United States](https://specstream.ai/data/businesses/food-and-beverage-consultants/united-states)
- [Certification bodies in the United States](https://specstream.ai/data/businesses/certification-bodies/united-states)

## Download verified CSV lists

- [Browse all NVD CVE vulnerability CSV lists ($15 to $49 CSV)](https://specstream.ai/data/cve-lists)
