mongodb.libmongocrypt is vulnerable to Denial of Service (DoS)
71
High Risk
libmongocrypt computes the plaintext length for an FLE2 indexed encrypted value directly from the ciphertext length in mc_FLE2IndexedEncryptedValue_decrypt and resizes the output buffer without checking the returned status. When a value carries a ciphertext smaller than the algorithm minimum, get_plaintext_len reports an error but the zero length is treated as valid, tripping an internal assertion that terminates the process. A value placed where the application decrypts it, or a manipulated server response, repeatedly crashes the client. The fix rejects undersized ciphertext and checks mongocrypt_status_ok before resizing the plaintext buffer.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts client-side field-level encrypted values whose ciphertext can be influenced by untrusted input.
mongodb.libmongocrypt is vulnerable to Denial of Service (DoS) in versions 1.7.0 - 1.20.3.
Upgrade the mongodb.libmongocrypt library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.