Description
An improper handling of repeated fields in encryption key documents in the MongoDB encryption support library may allow memory to be retained without release. A party able to write to the key storage collection, or a database endpoint returning such a document, may cause the memory use of the calling application process to grow for each document parsed, which may reduce performance of that process.
Affected products and versions
MongoDB Libmongocrypt Driver1.0.0 – < 1.21.2Fixed in: 1.21.2
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- Low impact
Weakness type (CWE)
- CWE-401 Missing Release of Memory after Effective Lifetime
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.