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

FLE2 not setting a random IV for AES-CTR encryption

    • 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

      In fle_crypto.cpp:encryptData(), the IV buffer is initialized to a length of MONGOCRYPT_IV_LEN, but not written with cryptographically-secure random data, before being passed to do_encrypt().

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

              Created:
              Updated:
              Resolved: