What’s Vulnerable › Vulnerabilities

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

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

Affected products

How to fix

Upgrade to a fixed version: MongoDB 6.0.17, 7.0.13, 7.3.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-8305 or the next vulnerability affects your stack