[SERVER-57983] Integer overflow for $range in Classic Engine Created: 22/Jun/21  Updated: 29/Oct/23  Resolved: 09/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.16, 4.4.8, 5.0.2, 4.0.27, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Sajed Nahian Assignee: Sajed Nahian
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Query Execution 2021-07-12, Query Execution 2021-07-26
Participants:
Linked BF Score: 166

 Description   

If arguments to $range result in integer overflow, OOM may occur.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 30/Jul/21 ]

Author:

{'name': 'Sajed Nahian', 'email': 'sajed.nahian@mongodb.com', 'username': 'SajedNahian'}

Message: SERVER-57983 Fix Integer overflow for $range
Branch: v4.0
https://github.com/mongodb/mongo/commit/f8c54331e771e6b812edf1e4335f24bbd73541ac

Comment by Githook User [ 23/Jul/21 ]

Author:

{'name': 'Sajed Nahian', 'email': 'sajed.nahian@mongodb.com', 'username': 'SajedNahian'}

Message: SERVER-57983 Fix Integer overflow for $range
Branch: v5.0
https://github.com/mongodb/mongo/commit/7f22ea97d377da05e6a15422bf802fb0557f3e32

Comment by Githook User [ 22/Jul/21 ]

Author:

{'name': 'Sajed Nahian', 'email': 'sajed.nahian@mongodb.com', 'username': 'SajedNahian'}

Message: SERVER-57983 Fix Integer overflow for $range
Branch: v4.4
https://github.com/mongodb/mongo/commit/ef7f9c17240ea65df5cd148a529901bab47f05ed

Comment by Githook User [ 08/Jul/21 ]

Author:

{'name': 'Sajed Nahian', 'email': 'sajed.nahian@mongodb.com', 'username': 'SajedNahian'}

Message: SERVER-57983 Fix Integer overflow for $range
Branch: v4.2
https://github.com/mongodb/mongo/commit/d24b9b917786573654b8732a9e7255dc3bfd8951

Comment by Githook User [ 08/Jul/21 ]

Author:

{'name': 'Sajed Nahian', 'email': 'sajed.nahian@mongodb.com', 'username': 'SajedNahian'}

Message: SERVER-57983 Fix Integer overflow for $range
Branch: master
https://github.com/mongodb/mongo/commit/38e21ea6a60f4a8f8817fe3520c61a0c03e0aea1

Generated at Thu Feb 08 05:43:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.