[SERVER-75517] illegal format of `_id` possible via upsert Created: 30/Mar/23  Updated: 24/Jan/24  Resolved: 04/Apr/23

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 5.0.0, 6.0.0, 6.3.0-rc2
Fix Version/s: 7.0.0-rc0, 6.0.6, 5.0.17, 6.3.1

Type: Bug Priority: Critical - P2
Reporter: Asya Kamsky Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: query-director-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-57382 _id validation for insert is missing ... Closed
related to SERVER-75880 Upsert permits _id values containing ... Closed
related to SERVER-77858 Collection validation and dbCheck sho... Open
related to SERVER-77590 Consolidate the validation paths for ... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.3, v6.0, v5.0
Participants:

 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-75517 Add additional dollar-prefix validation in _id
Branch: v6.3
https://github.com/mongodb/mongo/commit/feca2cd33e6d317374363f008a214aebabce6a52

Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-75517 Add additional dollar-prefix validation in _id
Branch: v6.0
https://github.com/mongodb/mongo/commit/73b9d52c6aac06eedb691ebdc3e4ee2d6c02f5c1

Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-75517 Add additional dollar-prefix validation in _id
Branch: v5.0
https://github.com/mongodb/mongo/commit/33e9c29298d28e5fde5d86b09b8c067941602e3f

Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-75517 Add additional dollar-prefix validation in _id
Branch: master
https://github.com/mongodb/mongo/commit/819f9d1ae3c9d92cd473946d2a872965440be6a2

Generated at Thu Feb 08 06:30:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.