VDB

CVE-2018-20803

CVE-2018-20803 PUBLISHED CVSS 6.5 MEDIUM

Infinite loop in aggregation expression

Reported by mongodb · Published November 23, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
MongoDB ServerMongoDB Inc.4.0.5, 3.6.10, 3.4.19
mongodbmongodb4.0.5, 3.6.10, 3.4.19
MongoDB ServerMongoDB4.0.5

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
MongoDB Inc.MongoDB Server4.0, 3.6, 3.4
MongoDB Inc.MongoDB Server4.0, 3.6, 3.4

Timeline

  • Nov 23, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 4, 2026 Security Advisory
  • Sep 21, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-20803
vulnetix vdb fixes CVE-2018-20803

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20803/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›