# CVE-2024-8305: MongoDB Server secondaries may crash due to forced index constraints

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2024-10-21
- Aliases: UBUNTU-CVE-2024-8305
- Record: https://cvemate.com/vulnerability/CVE-2024-8305 · JSON: https://cvemate.com/vulnerability/CVE-2024-8305/json

## Description

```text
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
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.594%, percentile 49.829%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb server: ≥ 6.0, \< 6.0.17 \| ≥ 7.0, \< 7.0.13 \| ≥ 7.3, \< 7.3.4
- mongodb mongodb: ≥ 6.0.0, \< 6.0.17 \| ≥ 7.0.0, \< 7.0.13 \| ≥ 7.3.0, \< 7.3.4

## References

- <https://jira.mongodb.org/browse/SERVER-92382>
- <https://ubuntu.com/security/CVE-2024-8305>
- <https://www.cve.org/CVERecord?id=CVE-2024-8305>

---

Data as of 2026-12-05T13:42:30.007Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
