CVE-2021-20328
CVE-2021-20328 · MongoDB Java driver client-side field level encryption not verifying KMS host name
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.4 · Medium · EPSS 0.4%
- Published
- Updated
Stack: system
Affected products and versions
mongo-java-driver
- Versions
- ≥ 3.11, ≤ 3.11.2: Affected (custom)
- ≥ 3.12, ≤ 3.12.7: Affected (custom)
No fix published
mongodb-driver
- Versions
- ≥ 3.11, ≤ 3.11.2: Affected (custom)
- ≥ 3.12, ≤ 3.12.7: Affected (custom)
No fix published
mongodb-driver-sync
- Versions
- 4.2.0: Affected
- ≥ 3.11, ≤ 3.11.2: Affected (custom)
- ≥ 3.12, ≤ 3.12.7: Affected (custom)
- ≥ 4.0, ≤ 4.0.5: Affected (custom)
- ≥ 4.1, ≤ 4.1.1: Affected (custom)
No fix published
mongodb-driver-legacy
- Versions
- 4.2.0: Affected
- ≥ 3.11, ≤ 3.11.2: Affected (custom)
- ≥ 3.12, ≤ 3.12.7: Affected (custom)
- ≥ 4.0, ≤ 4.0.5: Affected (custom)
- ≥ 4.1, ≤ 4.1.1: Affected (custom)
No fix published
mongo-java-driver Ubuntu:16.04:LTS
- Versions
- 2.12.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:18.04:LTS
- Versions
- 3.3.0-1
- 3.6.2-1
- 3.6.3-2~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:20.04:LTS
- Versions
- 3.6.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:22.04:LTS
- Versions
- 3.6.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:24.04:LTS
- Versions
- 3.6.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:25.10
- Versions
- 3.6.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:26.10
- Versions
- 3.6.3-2.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mongo-java-driver Ubuntu:26.04:LTS
- Versions
- 3.6.3-2
- 3.6.3-2build1
- 3.6.3-2.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published