CVE-2024-8013

LOWCVSS 3.3/10EPSS 0.12%

Last modified

CVE-2024-8013 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
3.3/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS Probability
0.12%

2.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MongodbMongo Crypt V1.So>= 6.0.0, < 6.0.17
MongodbMongo Crypt V1.So>= 7.0.0, < 7.0.12
MongodbMongo Crypt V1.So>= 7.3.0, < 7.3.4
MongodbMongocryptd>= 5.0.0, < 5.0.29
MongodbMongocryptd>= 6.0.0, < 6.0.17
MongodbMongocryptd>= 7.0.0, < 7.0.12
MongodbMongocryptd>= 7.3.0, < 7.3.4

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2024-8013?
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.
How severe is CVE-2024-8013?
CVE-2024-8013 has a CVSS score of 3.3/10 (LOW severity). The EPSS model estimates a 0.12% probability of exploitation in the next 30 days.
How do I fix CVE-2024-8013?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-8013?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST