CVE-2018-25004
Invariant failure when explaining a find with a UUID
Reported by mongodb · Published March 1, 2021
A user authorized to performing a specific type of query may trigger a denial of service by issuing a generic explain command on a find query. This issue affects MongoDB Server v4.0 versions prior to 4.0.6 and MongoDB Server v3.6 versions prior to 3.6.11.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mongodb | mongodb | 4.0.6, 3.6.11 |
| MongoDB Server | MongoDB Inc. | 4.0.6, 3.6.11 |
| MongoDB Server | MongoDB | 4.0.6, 3.6.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | MongoDB Server | 3.6, 4.0 |
| MongoDB Inc. | MongoDB Server | 3.6, 4.0 |
Timeline
- Feb 26, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 19, 2024 CVE Updated
- 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-25004
vulnetix vdb fixes CVE-2018-25004
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-25004/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart