CVE-2024-8305: MongoDB Server secondaries may crash due to forced index constraints
Vulnerability summary
CVE-2024-8305 is a medium (CVSS 6.5) vulnerability in mongodb inc mongodb server. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49.8% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 21-10-2024Last modifiedVulnerability information updated.
Description
prepareUnique index may cause secondaries to crash due to incorrect enforcement of index constraints on secondaries, where in extreme cases may cause multiple secondaries crashing leading to no primaries. This issue affects MongoDB Server v6.0 versions prior to 6.0.17, MongoDB Server v7.0 versions prior to 7.0.13 and MongoDB Server v7.3 versions prior to 7.3.4
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.59% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb1 product
- mongodb≥ 6.0.0, < 6.0.17 | ≥ 7.0.0, < 7.0.13 | ≥ 7.3.0, < 7.3.4
Mongodb inc1 product
- mongodb server≥ 6.0, < 6.0.17 | ≥ 7.0, < 7.0.13 | ≥ 7.3, < 7.3.4
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 3 products