Vulnerabilities

CVE-2024-8013

Low 3.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-10-28
Last modified
2026-06-17
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 2 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb Mongo Crypt V1.so ≥ 6.0.0, < 6.0.17 Affected
Mongodb Mongo Crypt V1.so ≥ 7.0.0, < 7.0.12 Affected
Mongodb Mongo Crypt V1.so ≥ 7.3.0, < 7.3.4 Affected
Mongodb Mongocryptd ≥ 5.0.0, < 5.0.29 Affected
Mongodb Mongocryptd ≥ 6.0.0, < 6.0.17 Affected
Mongodb Mongocryptd ≥ 7.0.0, < 7.0.12 Affected
Mongodb Mongocryptd ≥ 7.3.0, < 7.3.4 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1040: Network Sniffing credential-access, discovery
  • T1056.004: Credential API Hooking collection, credential-access

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities