CVE-2024-8305: MongoDB Server secondaries may crash due to forced index constraints
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
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.