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

Incorrect $elemMatch query analysis in mongocryptd if document contains 2 different fields with the same name

    XMLWordPrintableJSON

Details

    Description

      mongocryptd $elemMatch analysis encrypts field that is not mentioned in schemaMap. This happens if a document contains 2 different fields with the same name. If one of this field is mentioned in schemaMap, $elemMatch query analysis will encrypt both of them during filter creating.

      Attachments

        Issue Links

          Activity

            People

              davis.haupt@mongodb.com Davis Haupt
              dmitry.lukyanov@mongodb.com Dmitry Lukyanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: