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

applyOps accepts invalid UUIDs for the create command

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2018-09-24, Repl 2018-10-08, Repl 2018-10-22
    • 2

    Description

      The fuzzer generated the following applyOps entry, which ended up corrupting the system.version collection (newUUID was undefined):

      {
              op: 'c',
              ns: 'admin.$cmd',
              ui: newUUID,
              o: { create: 'system.version' }
      } 

      There could be more validation in applyOps to ensure that the value 'ui' is correct.

      Attachments

        Issue Links

          Activity

            People

              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              david.bradford@mongodb.com David Bradford (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: