KMS request injection via unsanitized key vault and provider values in libmongocrypt
What fixes it
- 1.21.1libmongocryptCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
libmongocrypt builds requests to external key management services (AWS, Azure and GCP) by inserting values from key vault documents, KMS provider configuration and KMS responses into request lines, headers and signed request bodies without validating or encoding them for each context. A user with write access to the key vault collection can alter the structure of these requests, including adding members to request bodies and token claims that the library then signs with the application's credentials. This may result in key management operations being performed with parameters the application did not intend.
Text from CVE List
Affected versions 1
- libmongocryptaffected: 1.0.0 before 1.21.1CVE List