CVE-2018-20803
published medium CVSS 3.1 · 6.5Infinite loop in aggregation expression
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc. | — | MongoDB Server4.0 to < 4.0.5 · 3.6 to < 3.6.10 · 3.4 to < 3.4.19 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc. | MongoDB Server | 4.0 to < 4.0.5 (affected · custom)3.6 to < 3.6.10 (affected · custom)3.4 to < 3.4.19 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
1Provider assertions
2mongodb · cna
Infinite loop in aggregation expression
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2d5d22689233c42606baa8ddec5fb27a76bda9248a6865396e8d4029aef6ae3d
- Ingested
- 23 Sep 2026, 07:44:24 UTC
- Source record
- Official CVE record