6.5

CVE-2018-20802: Post-auth queries on compound index may crash mongod

Modified
AliasesUBUNTU-CVE-2018-20802USN-8064-1
Published 23-11-2020Last modified 17-09-2024

Vulnerability summary

CVE-2018-20802 is a medium (CVSS 6.5) Unexpected Status Code or Return Value vulnerability in mongodb inc mongodb server. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 76.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 23-11-2020
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.58%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb1 product
  • mongodb≥ 3.6.0, < 3.6.9 | ≥ 4.0.0, < 4.0.3
Mongodb inc1 product
Ubuntu1 product
  • mongodb< 1:2.4.9-1ubuntu2+esm2 | < 1:2.6.10-0ubuntu1+esm2 | < 1:3.6.3-0ubuntu1.4+esm1

3 vendors · 3 products

References

4 links