CVE-2024-8013: A bug in query analysis of certain complex self-referential $lookup subpipelines may result in literal values
8
Routine
LOW 2.2UPGRADEUPGRADE
CVE-2024-8013 is a low-severity flaw (CVSS 2.2) affecting mongo crypt v1.so, mongocryptd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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_
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8013?
mongo crypt v1.so: upgrade to 6.0.17, 7.0.12, 7.3.4; mongocryptd: upgrade to 5.0.29, 6.0.17, 7.0.12, 7.3.4. Exact commands for each OS are on this page.
Is CVE-2024-8013 being exploited?
CVE-2024-8013 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8013 affect?
CVE-2024-8013 affects mongo crypt v1.so, mongocryptd. Severity is low (CVSS 2.2). 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 w