CVE-2024-8305 json
MongoDB Server secondaries may crash due to forced index constraints
published 2024-10-21 2 y ago modified 2026-09-08 2 mo ago also BIT-mongodb-2024-8305 , EUVD-2024-49079
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- bitnami mongodb 6.0.17, 7.0.14
- MongoDB Inc MongoDB Server 6.0.17, 7.0.13, 7.3.4
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mongodb | >=6.0.0, <6.0.17 >=7.0.0, <7.0.14 |
6.0.17 7.0.14 |
Affected products
- MongoDB Inc MongoDB Server
Classification
- Weakness
-
- CWE-1288 Improper Validation of Consistency within Input
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-92382
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-8305
web
Sources
- CVE List CVE-2024-8305
- NVD CVE-2024-8305
- OSV BIT-mongodb-2024-8305
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.