Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29839

Protect against UUID->NSS mapping changing after looking it up in all commands that use parseNsOrUUID

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.13
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage 2017-07-31, Storage 2017-08-21, Storage 2017-09-11
    • Linked BF Score:
      0

      Description

      There are currently at least 3 commands (find, listIndexes, and parallelCollectionScan) that use the parseNsOrUUID method to translate a UUID provided to the command into a namespace to run the command against. If, however, the collection with the given UUID is renamed after the namespace is looked up but before the command completes, the command can wind up operating on the wrong collection and returning incorrect results.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: