CVE-2021-20328
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.
EPSS 0.13% · 31.8th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | mongo-java-driver | 2.12.4-1, 0 |
| Ubuntu:25.10 | mongo-java-driver | 3.6.3-2, 0 |
| Ubuntu:20.04:LTS | mongo-java-driver | 3.6.3-2, 0 |
| Ubuntu:18.04:LTS | mongo-java-driver | 0, *, 3.6.2-1 |
| Ubuntu:22.04:LTS | mongo-java-driver | 3.6.3-2, 0 |
| Ubuntu:24.04:LTS | mongo-java-driver | 0, 3.6.3-2 |
Exploit Intelligence
- cve_db.json (github-poc)
- cve_db.json (github-poc)
- cve_db.json (github-poc)
- cve_db.json (github-poc)
- cve_db.json (github-poc)
- cve_db.json (github-poc)
- cve_db.json (github-poc)
Timeline
- Feb 25, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-20328 third-party-advisory
- https://jira.mongodb.org/browse/JAVA-4017 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-20328 third-party-advisory