Executive brief
A vulnerability in MongoDB Server allows authenticated users to cause a database crash or receive incorrect query results. By creating documents with specific field names that mimic internal system data, a user can interfere with how the database processes information during complex queries. This can lead to service outages or data integrity issues where the database returns inaccurate information.
Technical details
A Reachable Assertion (CWE-617) exists in MongoDB Server due to insufficient separation between user-controlled document fields and internal metadata. The `DocumentStorage::loadLazyMetadata()` function unconditionally consumes BSON fields prefixed with '