What’s Vulnerable › Vulnerabilities

CVE-2024-10921: Improper neutralization of null bytes may lead to buffer over-reads in MongoDB Server

Description

An authorized user may trigger crashes or receive the contents of buffer over-reads of Server memory by issuing specially crafted requests that construct malformed BSON in the MongoDB Server. This issue affects MongoDB Server v5.0 versions prior to 5.0.30 , MongoDB Server v6.0 versions prior to 6.0.19, MongoDB Server v7.0 versions prior to 7.0.15 and MongoDB Server v8.0 versions prior to and including 8.0.2.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 5.0.30, 6.0.19, 7.0.15, 8.0.3. Check the vendor advisory for mitigations.

References

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