CVE-2024-8013: CSFLE and Queryable Encryption self-lookup may fail to encrypt values in subpipelines
Vulnerability summary
CVE-2024-8013 is a low (CVSS 3.3) vulnerability in mongodb inc mongo_crypt_v1.so. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.9% of scored vulnerabilities.
Not severe (CVSS 2.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 28-10-2024PublishedVulnerability first disclosed.
- 28-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA2.2LowCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb2 products
- mongo_crypt_v1.so≥ 6.0.0, < 6.0.17 | ≥ 7.0.0, < 7.0.12 | ≥ 7.3.0, < 7.3.4
- mongocryptd≥ 5.0.0, < 5.0.29 | ≥ 6.0.0, < 6.0.17 | ≥ 7.0.0, < 7.0.12 | ≥ 7.3.0, < 7.3.4
Mongodb inc2 products
- mongo_crypt_v1.so≥ 6.0, < 6.0.17 | ≥ 7.0, < 7.0.12 | ≥ 7.3, < 7.3.4
- mongocryptd≥ 5.0, < 5.0.29 | ≥ 6.0, < 6.0.17 | ≥ 7.0, < 7.012 | ≥ 7.3, < 7.3.4
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 5 products