In MongoDB, insufficient validation of shard key values during document insertion allowed authenticated users to store documents with specially crafte...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSmongodb |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSmongodb |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSmongodb |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSmongodb |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
In MongoDB, insufficient validation of shard key values during document insertion allowed authenticated users to store documents with specially crafted, operator-shaped objects as shard key values in sharded collections. When change stream events for such documents were processed with the updateLookup full document mode, the crafted values were embedded into internal post-image lookup queries without proper sanitization, causing them to be interpreted as query operators rather than literal equality values. This could result in change stream consumers receiving incorrect post-image documents or encountering non-resumable fatal errors.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org