CVE-2018-20804 json
Invariant failure in applyOps
published 2020-11-23 5 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13346
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
A user authorized to perform database queries may trigger denial of service by issuing specially crafted applyOps invocations. This issue affects MongoDB Server v4.0 versions prior to 4.0.10 and MongoDB Server v3.6 versions prior to 3.6.13.
Patch / fix
- MongoDB Inc. MongoDB Server 3.6.13, 4.0.10
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20804 updated cvss 6.5
mongodb: Denial of service via specially crafted applyOps invocations
-
Red Hat OpenStack Platform 10 (Newton) mongodb, mongodb-serveraffected: no fix planned “Out of support scope”
-
Red Hat Software Collections rh-mongodb36-mongodb, rh-mongodb36-mongodb-test, rh-mongodb36-mongodb-server, rh-mongodb36-mongodb-syspaths, rh-mongodb36-mongodb-server-syspathsaffected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 mongodb Red Hat Update Infrastructure 3 for Cloud Providers mongodbnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected products
- MongoDB Inc. MongoDB Server
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-35636
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2018-20804
- NVD CVE-2018-20804
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.