VYPR
Moderate severityNVD Advisory· Published Feb 25, 2021· Updated Sep 16, 2024

MongoDB Java driver client-side field level encryption not verifying KMS host name

CVE-2021-20328

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.mongodb:mongodb-driverMaven
>= 3.11.0, < 3.11.33.11.3
org.mongodb:mongodb-driverMaven
>= 3.12.0, < 3.12.83.12.8
org.mongodb:mongodb-driver-syncMaven
>= 4.0.0, < 4.0.64.0.6
org.mongodb:mongodb-driver-syncMaven
>= 4.1.0, < 4.1.24.1.2
org.mongodb:mongodb-driver-syncMaven
>= 4.2.0, < 4.2.14.2.1
org.mongodb:mongo-java-driverMaven
>= 3.11.0, < 3.11.33.11.3
org.mongodb:mongo-java-driverMaven
>= 3.12.0, < 3.12.83.12.8
org.mongodb:mongodb-driver-legacyMaven
>= 4.0.0, < 4.0.64.0.6
org.mongodb:mongodb-driver-legacyMaven
>= 4.1.0, < 4.1.24.1.2
org.mongodb:mongodb-driver-legacyMaven
>= 3.11.0, < 3.11.33.11.3
org.mongodb:mongodb-driver-legacyMaven
>= 3.12.0, < 3.12.83.12.8
org.mongodb:mongodb-driver-syncMaven
>= 3.12.0, < 3.12.83.12.8
org.mongodb:mongodb-driver-syncMaven
>= 3.11.0, < 3.11.33.11.3
org.mongodb:mongodb-driver-legacyMaven
>= 4.2.0, < 4.2.14.2.1

Affected products

8

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.