CVE-2018-20805
CVE-2018-20805 is a medium-severity vulnerability in Mongodb with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-834.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-834
- Affected product: Mongodb
- Published:
- Last modified:
Description
A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries, which perform an $elemMatch . This issue affects MongoDB Server v4.0 versions prior to 4.0.5 and MongoDB Server v3.6 versions prior to 3.6.10.
Frequently asked questions
- What is CVE-2018-20805?
- A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries, which perform an $elemMatch . This issue affects MongoDB Server v4.0 versions prior to 4.0.5 and MongoDB Server v3.6 versions prior to 3.6.10.
- How severe is CVE-2018-20805?
- CVE-2018-20805 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2018-20805 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-20805?
- CVE-2018-20805 affects Mongodb. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-20805?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2018-20805 published?
- CVE-2018-20805 was published on 2020-11-23 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
More vulnerabilities in Mongodb
- CVE-2017-15535 — Critical (CVSS 9.1): MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting,…
- CVE-2026-18692 — High (CVSS 8.8): An issue in MongoDB Server's handling of timeseries bucket lifecycle could allow an authenticated user with write…
- CVE-2026-18691 — High (CVSS 8.8): An issue in MongoDB Server's intra-cluster connection setup could allow a party with suitable network access to…
- CVE-2026-11933 — High (CVSS 8.8): A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents…
- CVE-2026-8053 — High (CVSS 8.8): An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write…
- CVE-2026-4148 — High (CVSS 8.8): A use-after-free vulnerability can be triggered in sharded clusters by an authenticated user with the read role who…
Other CWE-834 (Excessive Iteration) vulnerabilities
- CVE-2017-12587 — High (CVSS 8.8): ImageMagick 7.0.6-1 has a large loop vulnerability in the ReadPWPImage function in coders\pwp.c.
- CVE-2024-42071 — High (CVSS 7.8): In the Linux kernel, the following vulnerability has been resolved: ionic: use dev_consume_skb_any outside of napi If…
- CVE-2026-16497 — High (CVSS 7.5): NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker could cause excessive iteration. A…
- CVE-2026-59644 — High (CVSS 7.5): In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit generation counter from sender.
- CVE-2026-64641 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. In versions 13.0.0 through 15.5.20 and 16.0.0…
- CVE-2025-62707 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this…
Browse all CWE-834 (Excessive Iteration) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 91.208.207.34 (ipv4-addr)
- 210.222.46.15 (ipv4-addr)