Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-20805 EUVD-2018-13347GHSA-h55v-wgpx-c3rf

Invariant with $elemMatch

Published Nov 23, 2020 · Updated Sep 17, 2024 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 3.6 – < 3.6.10, 4.0 – < 4.0.5 3.6.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —

References