CVE-2018-20803

Infinite loop in aggregation expression

State
Published
Severity
6.5 Medium
Published
Nov 23, 2020
Updated
Sep 16, 2024
Reserved
Mar 15, 2019

Read the record on cve.org

Description

A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries, which loop indefinitely in mathematics processing while retaining locks. This issue affects MongoDB Server v4.0 versions prior to 4.0.5; MongoDB Server v3.6 versions prior to 3.6.10 and MongoDB Server v3.4 versions prior to 3.4.19.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc.
  • 4.0 to before 4.0.5Affected
  • 3.6 to before 3.6.10Affected
  • 3.4 to before 3.4.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.