First published: Wed Feb 17 2021(Updated: )
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.
Credit: cna@mongodb.com
Affected Software | Affected Version | How to fix |
---|---|---|
Mongodb Java Driver | >=3.11.0<3.11.3 | |
Mongodb Java Driver | >=3.12.0<3.12.8 | |
Mongodb Java Driver | >=4.0.0<4.0.6 | |
Mongodb Java Driver | >=4.1.0<4.1.2 | |
Mongodb Java Driver | >=4.2.0<4.2.1 | |
Quarkus Quarkus | <1.13.3 | |
Quarkus Quarkus | =1.13.3 | |
redhat/mongodb-driver | <3.11.3 | 3.11.3 |
redhat/mongodb-driver | <3.12.8 | 3.12.8 |
redhat/mongodb-driver-legacy | <4.0.6 | 4.0.6 |
redhat/mongodb-driver-legacy | <4.1.2 | 4.1.2 |
redhat/mongodb-driver-legacy | <4.2.1 | 4.2.1 |
maven/org.mongodb:mongodb-driver-legacy | =4.2.0 | 4.2.1 |
maven/org.mongodb:mongodb-driver-sync | >=3.11.0<=3.11.2 | 3.11.3 |
maven/org.mongodb:mongodb-driver-sync | >=3.12.0<=3.12.7 | 3.12.8 |
maven/org.mongodb:mongodb-driver-legacy | >=3.12.0<=3.12.7 | 3.12.8 |
maven/org.mongodb:mongodb-driver-legacy | >=3.11.0<=3.11.2 | 3.11.3 |
maven/org.mongodb:mongodb-driver-legacy | >=4.1.0<=4.1.1 | 4.1.2 |
maven/org.mongodb:mongodb-driver-legacy | >=4.0.0<=4.0.5 | 4.0.6 |
maven/org.mongodb:mongo-java-driver | >=3.12.0<=3.12.7 | 3.12.8 |
maven/org.mongodb:mongo-java-driver | >=3.11.0<=3.11.2 | 3.11.3 |
maven/org.mongodb:mongodb-driver-sync | =4.2.0 | 4.2.1 |
maven/org.mongodb:mongodb-driver-sync | >=4.1.0<=4.1.1 | 4.1.2 |
maven/org.mongodb:mongodb-driver-sync | >=4.0.0<=4.0.5 | 4.0.6 |
maven/org.mongodb:mongodb-driver | >=3.12.0<=3.12.7 | 3.12.8 |
maven/org.mongodb:mongodb-driver | >=3.11.0<=3.11.2 | 3.11.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
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.
CVE-2021-20328 affects specific versions of the MongoDB Java driver and Quarkus Quarkus.
The severity level of CVE-2021-20328 is medium with a severity value of 6.4.
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.
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).