CVE-2021-20328
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2021
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
MongoDB Java driver client-side field level encryption not verifying KMS host name
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
mongo-java-driver
- Vendor
- MongoDB Inc.
- Product
- mongo-java-driver
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.11 | affected | custom | Unavailable | 3.11.2 | None listed |
| 3.12 | affected | custom | Unavailable | 3.12.7 | None listed |
mongodb-driver
- Vendor
- MongoDB Inc.
- Product
- mongodb-driver
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.11 | affected | custom | Unavailable | 3.11.2 | None listed |
| 3.12 | affected | custom | Unavailable | 3.12.7 | None listed |
mongodb-driver-sync
- Vendor
- MongoDB Inc.
- Product
- mongodb-driver-sync
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.2.0 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 3.11 | affected | custom | Unavailable | 3.11.2 | None listed |
| 3.12 | affected | custom | Unavailable | 3.12.7 | None listed |
| 4.0 | affected | custom | Unavailable | 4.0.5 | None listed |
| 4.1 | affected | custom | Unavailable | 4.1.1 | None listed |
mongodb-driver-legacy
- Vendor
- MongoDB Inc.
- Product
- mongodb-driver-legacy
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.2.0 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 3.11 | affected | custom | Unavailable | 3.11.2 | None listed |
| 3.12 | affected | custom | Unavailable | 3.12.7 | None listed |
| 4.0 | affected | custom | Unavailable | 4.0.5 | None listed |
| 4.1 | affected | custom | Unavailable | 4.1.1 | None listed |