-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 4.4.5
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
-
Execution Team 2021-05-17
-
168
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The undefined behaviour sanitizer was trying to create indexes with numeric key patterns outside the range of representable values of 'int'. The input wasn't rejected by the createIndexes command and code at later points called BSONElement::numberInt() assuming it's safe.
Here are two spots that UBSan found, but there may be more:
I've verified that this behaviour already exists on v4.4, so the solution will need to be cautious as index specifications with these patterns can already be stored durably.
- depends on
-
SERVER-56745 fix index_id_options.js tags
-
- Closed
-