CVE-2018-20805: Invariant with $elemMatch

Published Nov 23, 2020
·
Updated

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.

Other sources

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 Inc. MongoDB Server v4.0 versions prior to 4.0.5; v3.6 versions prior to 3.6.10. This issue affects: MongoDB Inc. MongoDB Server 3.6 versions prior to 3.6.10; 4.0 versions prior to 4.0.5.

Affected Software

2 affected components
MongoDB MongoDB>=3.6.0<3.6.10
MongoDB MongoDB>=4.0.0<4.0.5

Event History

Nov 23, 2020
CVE Published
via MITRE·03:20 PM
Data Sourced
via MITRE·03:20 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20805?

CVE-2018-20805 is a vulnerability that allows a user with database query privileges to cause denial of service by executing specially crafted queries.

2

Which versions of MongoDB Server are affected by CVE-2018-20805?

MongoDB Server v4.0 versions prior to 4.0.5 and v3.6 versions prior to 3.6.10 are affected by CVE-2018-20805.

3

How can an attacker exploit CVE-2018-20805?

An attacker can exploit CVE-2018-20805 by issuing specially crafted queries that perform an $elemMatch operation.

4

What is the severity of CVE-2018-20805?

CVE-2018-20805 has a severity rating of medium with a CVSS score of 6.5.

5

Is there a fix available for CVE-2018-20805?

Yes, MongoDB Inc. released fixes for CVE-2018-20805 in MongoDB Server versions 4.0.5 and 3.6.10.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203