CVE-2018-20802

Post-auth queries on compound index may crash mongod

MEDIUM
6.5
CVSS Score
Published: November 23, 2020 at 03:15 PM UTC
Updated: June 17, 2026 at 01:53 AM UTC
1 product affected across 1 vendorMongoDB

Using MongoDB Server by MongoDB Inc.?

Get instant alerts when new vulnerabilities affect MongoDB Server - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 2%

Description

A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries with compound indexes affecting QueryPlanner. This issue affects MongoDB Server v3.6 versions prior to 3.6.9 and MongoDB Server v4.0 versions prior to 4.0.3.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.6 ≤ v < 3.6.93.6.0 ≤ v < 3.6.94.0 ≤ v < 4.0.34.0.0 ≤ v < 4.0.33.64.0
Affected range stops below 3.6.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMIssue TrackingVendor Advisory
https://jira.mongodb.org/browse/SERVER-36993

CVSS

6.5MEDIUMmongodb
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-394NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card