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

XMLWordPrintableJSON

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

      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
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: