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

- Severity: Medium 6.5 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 56% of CVEs (2026-11-30)
- Published: 2024-10-21T14:10:31.079Z
- Modified: 2026-09-08T08:48:13.828Z
- Also known as: BIT-MONGODB-2024-8305
- Weaknesses: CWE-1288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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

(As written by CVE List.)

## Affected

- MongoDB Inc MongoDB Server: from 6.0 before 6.0.17; from 7.0 before 7.0.13; from 7.3 before 7.3.4
- mongodb mongodb: from 6.0.0 before 6.0.17; from 7.0.0 before 7.0.13; from 7.3.0 before 7.3.4
- mongodb (Bitnami): from 6.0.0 before 6.0.17; from 7.0.0 before 7.0.14

## Every score

- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://jira.mongodb.org/browse/SERVER-92382> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8305> (web)

## Sources

- CVE List: [CVE-2024-8305](https://www.cve.org/CVERecord?id=CVE-2024-8305), CVE Terms of Use, modified 2024-10-21
- NVD: [CVE-2024-8305](https://nvd.nist.gov/vuln/detail/CVE-2024-8305), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2024-8305](https://osv.dev/vulnerability/BIT-MONGODB-2024-8305), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-8305 · Whole record: https://cve.day/CVE-2024-8305.json · Rebuilt by cve.day 2026-11-25T22:58:47.010Z
