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

Fix FLE2 inserts to handle duplicate tokens sent for text search padding

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • Security 2025-02-17

      When inserting a substring/suffix/prefix indexed-encrypted field value, the set of tokens sent to the server in an insert/update payload may contain multiple "padding" tokens all having the same values for the ESC/EDC/Server/encrypted tokens. Currently, the server does not handle multiple duplicate padding tokens properly and ends up inserting the same document _id to the ESC. The server should be able to identify the padding tokens, and if there are multiple, increment their assigned counters accordingly.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: