6.5

CVE-2021-20330: mongodb inc mongodb server Improper Input Validation

CVSS: 6.5v3.1MediumModified
AliasesUBUNTU-CVE-2021-20330
Published 15-12-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-20330 is a medium (CVSS 6.5) Improper Input Validation vulnerability in mongodb inc mongodb server. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.08%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 15-12-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.08%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

+0.04 pp

From 1.04% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.08%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Mongodb1 product
  • mongodb≥ 4.0.0, < 4.0.25 | ≥ 4.2.0, < 4.2.14 | ≥ 4.4.0, < 4.4.6
Mongodb inc1 product
  • mongodb server≥ 4.0, < 4.0.27 | ≥ 4.2, < 4.2.16 | ≥ 4.4, < 4.4.9
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

3 vendors · 3 products

References

3 links