Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2021-20328
February 25, 2021
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 Packages
org.mongodb:mongodb-driver-legacy (JAVA):
Affected version(s) >=3.12.0 <3.12.8
Fix Suggestion:
Update to version 3.12.8
org.mongodb:mongodb-driver-sync (JAVA):
Affected version(s) =4.2.0 <4.2.1
Fix Suggestion:
Update to version 4.2.1
org.mongodb:mongo-java-driver (JAVA):
Affected version(s) >=3.12.0 <3.12.8
Fix Suggestion:
Update to version 3.12.8
org.mongodb:mongodb-driver-legacy (JAVA):
Affected version(s) >=4.0.0 <4.0.6
Fix Suggestion:
Update to version 4.0.6
org.mongodb:mongodb-driver-sync (JAVA):
Affected version(s) >=4.0.0 <4.0.6
Fix Suggestion:
Update to version 4.0.6
org.mongodb:mongodb-driver-sync (JAVA):
Affected version(s) >=3.11.0 <3.11.3
Fix Suggestion:
Update to version 3.11.3
org.mongodb:mongodb-driver-sync (JAVA):
Affected version(s) >=4.1.0 <4.1.2
Fix Suggestion:
Update to version 4.1.2
org.mongodb:mongodb-driver (JAVA):
Affected version(s) >=3.11.0 <3.11.3
Fix Suggestion:
Update to version 3.11.3
org.mongodb:mongodb-driver-sync (JAVA):
Affected version(s) >=3.12.0 <3.12.8
Fix Suggestion:
Update to version 3.12.8
org.mongodb:mongo-java-driver (JAVA):
Affected version(s) >=3.11.0 <3.11.3
Fix Suggestion:
Update to version 3.11.3
org.mongodb:mongodb-driver (JAVA):
Affected version(s) >=3.12.0 <3.12.8
Fix Suggestion:
Update to version 3.12.8
org.mongodb:mongodb-driver-legacy (JAVA):
Affected version(s) =4.2.0 <4.2.1
Fix Suggestion:
Update to version 4.2.1
org.mongodb:mongodb-driver-legacy (JAVA):
Affected version(s) >=3.11.0 <3.11.3
Fix Suggestion:
Update to version 3.11.3
org.mongodb:mongodb-driver-legacy (JAVA):
Affected version(s) >=4.1.0 <4.1.2
Fix Suggestion:
Update to version 4.1.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.4
Attack Vector
ADJACENT
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
ADJACENT
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
CVSS v2
Base Score:
4.3
Access Vector
ADJACENT NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
NONE
Weakness Type (CWE)
Improper Certificate Validation
EPSS
Base Score:
0.13