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

Published Oct 21, 2024
·
Updated

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

Affected Software

3 affected components
MongoDB MongoDB>=6.0.0<6.0.17
MongoDB MongoDB>=7.0.0<7.0.13
MongoDB MongoDB>=7.3.0<7.3.4

Event History

Oct 21, 2024
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8305?

The severity of CVE-2024-8305 is high due to the potential for multiple secondary nodes to crash.

2

How do I fix CVE-2024-8305?

To fix CVE-2024-8305, upgrade your MongoDB Server to version 6.0.17 or later, or to version 7.0.13 or later.

3

Which versions of MongoDB are affected by CVE-2024-8305?

CVE-2024-8305 affects MongoDB Server versions 6.0.0 to 6.0.16, 7.0.0 to 7.0.12, and 7.3.0 to 7.3.3.

4

What are the potential impacts of CVE-2024-8305?

The potential impact of CVE-2024-8305 includes crashing secondary nodes, which may lead to a loss of primary functionality.

5

Is there a workaround for CVE-2024-8305?

There are no known workarounds for CVE-2024-8305, so it is essential to upgrade to a fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203