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

applyOps accepts invalid UUIDs for the create command

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2018-09-24, Repl 2018-10-08, Repl 2018-10-22
    • 2

      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.

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

              Created:
              Updated:
              Resolved: