A bug in query analysis of certain complex self-referential $lookup subpipelines may result in literal values in expressions for encrypted fields to be sent to the server as plaintext instead of ciphertext. Should this occur, no documents would be returned or written. This issue affects mongocryptd binary (v5.0 versions prior to 5.0.29, v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) and mongo_crypt_v1.so shared libraries (v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) released alongside MongoDB Enterprise Server versions.
The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mongo_crypt_v1.so | Mongodb | 6.0.0 (including) | 6.0.17 (excluding) |
Mongo_crypt_v1.so | Mongodb | 7.0.0 (including) | 7.0.12 (excluding) |
Mongo_crypt_v1.so | Mongodb | 7.3.0 (including) | 7.3.4 (excluding) |
Mongocryptd | Mongodb | 5.0.0 (including) | 5.0.29 (excluding) |
Mongocryptd | Mongodb | 6.0.0 (including) | 6.0.17 (excluding) |
Mongocryptd | Mongodb | 7.0.0 (including) | 7.0.12 (excluding) |
Mongocryptd | Mongodb | 7.3.0 (including) | 7.3.4 (excluding) |
Mongodb | Ubuntu | trusty/esm | * |
Many communication channels can be “sniffed” (monitored) by adversaries during data transmission. For example, in networking, packets can traverse many intermediary nodes from the source to the destination, whether across the internet, an internal network, the cloud, etc. Some actors might have privileged access to a network interface or any link along the channel, such as a router, but they might not be authorized to collect the underlying data. As a result, network traffic could be sniffed by adversaries, spilling security-critical data. Applicable communication channels are not limited to software products. Applicable channels include hardware-specific technologies such as internal hardware networks and external debug channels, supporting remote JTAG debugging. When mitigations are not applied to combat adversaries within the product’s threat model, this weakness significantly lowers the difficulty of exploitation by such adversaries. When full communications are recorded or logged, such as with a packet dump, an adversary could attempt to obtain the dump long after the transmission has occurred and try to “sniff” the cleartext from the recorded communications in the dump itself.