CVE-2024-8013

CSFLE and Queryable Encryption self-lookup may fail to encrypt values in subpipelines

Description

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.

Category

2.2
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.01%
Vendor Advisory mongodb.org
Affected: MongoDB Inc mongocryptd
Affected: MongoDB Inc Mongo_crypt_v1.so
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-8013?
CVE-2024-8013 has been scored as a low severity vulnerability.
How to fix CVE-2024-8013?
To fix CVE-2024-8013, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-8013 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-8013 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-8013?
CVE-2024-8013 affects MongoDB Inc mongocryptd, MongoDB Inc Mongo_crypt_v1.so.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.