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.
| Software | From | Fixed in |
|---|---|---|
| mongodb / mongodb | 3.6.0 | 3.6.10 |
| mongodb / mongodb | 4.0.0 | 4.0.5 |