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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.13
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage 2017-07-31, Storage 2017-08-21, Storage 2017-09-11
    • 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

        Activity

          People

            maria.vankeulen@mongodb.com Maria van Keulen
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: