# CVE-2018-20802: mongodb: A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries with...

CVE-2018-20802 is fixed in 4 products on 1 platform, first by mongodb 1:3.6.3-0ubuntu1.4+esm1, released November 23, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-20802
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0158
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 23, 2020

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | mongodb Ubuntu 18.04.6 LTS (bionic) | 1:3.6.3-0ubuntu1.4+esm1 | [mongodb 1:3.6.3-0ubuntu1.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mongodb-1-3.6.3-0ubuntu1.4-esm1.md) | Nov 23, 2020 |
| Linux | mongodb-clients Ubuntu 18.04.6 LTS (bionic) | 1:3.6.3-0ubuntu1.4+esm1 | [mongodb-clients 1:3.6.3-0ubuntu1.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mongodb-clients-1-3.6.3-0ubuntu1.4-esm1.md) | Nov 23, 2020 |
| Linux | mongodb-server Ubuntu 18.04.6 LTS (bionic) | 1:3.6.3-0ubuntu1.4+esm1 | [mongodb-server 1:3.6.3-0ubuntu1.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mongodb-server-1-3.6.3-0ubuntu1.4-esm1.md) | Nov 23, 2020 |
| Linux | mongodb-server-core Ubuntu 18.04.6 LTS (bionic) | 1:3.6.3-0ubuntu1.4+esm1 | [mongodb-server-core 1:3.6.3-0ubuntu1.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-mongodb-server-core-1-3.6.3-0ubuntu1.4-esm1.md) | Nov 23, 2020 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
