CVE-2024-8013
published low CVSS 3.1 · 2.2CSFLE and Queryable Encryption self-lookup may fail to encrypt values in subpipelines
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | mongocryptd5.0 to < 5.0.29 · 6.0 to < 6.0.17 · 7.0 to < 7.012 · 7.3 to < 7.3.4 · Other versions: unaffected | Affected | Not stated | mongodb |
| MongoDB Inc | — | Mongo_crypt_v1.so6.0 to < 6.0.17 · 7.0 to < 7.0.12 · 7.3 to < 7.3.4 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.2 / 10
- Severity
- low
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | mongocryptd | 5.0 to < 5.0.29 (affected · custom)6.0 to < 6.0.17 (affected · custom)7.0 to < 7.012 (affected · custom)7.3 to < 7.3.4 (affected · custom)Default: unaffected | mongodb · cna |
| MongoDB Inc | Mongo_crypt_v1.so | 6.0 to < 6.0.17 (affected · custom)7.0 to < 7.0.12 (affected · custom)7.3 to < 7.3.4 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-319 CWE-319: Cleartext Transmission of Sensitive Information
References
1Provider assertions
2mongodb · cna
CSFLE and Queryable Encryption self-lookup may fail to encrypt values in subpipelines
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4bb64dc3151a37c9a1128ab0c9270302284656be9a7da653acb6743e785df3aa
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record