CVE-2021-20328: MongoDB Java driver client-side field level encryption not verifying KMS host name
Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS server’s certificate. This vulnerability in combination with a privileged network position active MITM attack could result in interception of traffic between the Java driver and the KMS service rendering Field Level Encryption ineffective. This issue was discovered during internal testing and affects all versions of the Java driver that support CSFLE. The Java async, Scala, and reactive streams drivers are not impacted. This vulnerability does not impact driver traffic payloads with CSFLE-supported key services originating from applications residing inside the AWS, GCP, and Azure network fabrics due to compensating controls in these environments. This issue does not impact driver workloads that don’t use Field Level Encryption.
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2021-20328?
CVE-2021-20328 is a vulnerability in specific versions of the Java driver that support client-side field level encryption (CSFLE) and fail to perform correct host name verification on the KMS server's certificate.
How does CVE-2021-20328 affect the affected software?
CVE-2021-20328 affects specific versions of the MongoDB Java driver and Quarkus Quarkus.
What is the severity level of CVE-2021-20328?
The severity level of CVE-2021-20328 is medium with a severity value of 6.4.
Which versions of the affected software are vulnerable to CVE-2021-20328?
Versions up to but excluding 3.11.3, 3.12.8, 4.0.6, 4.1.2, and 4.2.1 of the MongoDB Java driver, and versions up to but excluding 1.13.3 of Quarkus Quarkus are vulnerable to CVE-2021-20328.
Where can I find more information about CVE-2021-20328?
You can find more information about CVE-2021-20328 at the following references: [CVE-2021-20328 at cve.org](https://www.cve.org/CVERecord?id=CVE-2021-20328), [CVE-2021-20328 at NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-20328), [Bugzilla Red Hat Bug](https://bugzilla.redhat.com/show_bug.cgi?id=1934236), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:0871).