CVE-2021-20328
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| MongoDB Inc. | mongo-java-driver | 3.11 <= 3.11.2 | affected |
| MongoDB Inc. | mongo-java-driver | 3.12 <= 3.12.7 | affected |
| MongoDB Inc. | mongodb-driver | 3.11 <= 3.11.2 | affected |
| MongoDB Inc. | mongodb-driver | 3.12 <= 3.12.7 | affected |
| MongoDB Inc. | mongodb-driver-sync | 4.2.0 | affected |
| MongoDB Inc. | mongodb-driver-sync | 3.11 <= 3.11.2 | affected |
| MongoDB Inc. | mongodb-driver-sync | 3.12 <= 3.12.7 | affected |
| MongoDB Inc. | mongodb-driver-sync | 4.0 <= 4.0.5 | affected |
| MongoDB Inc. | mongodb-driver-sync | 4.1 <= 4.1.1 | affected |
| MongoDB Inc. | mongodb-driver-legacy | 4.2.0 | affected |
| MongoDB Inc. | mongodb-driver-legacy | 3.11 <= 3.11.2 | affected |
| MongoDB Inc. | mongodb-driver-legacy | 3.12 <= 3.12.7 | affected |
| MongoDB Inc. | mongodb-driver-legacy | 4.0 <= 4.0.5 | affected |
| MongoDB Inc. | mongodb-driver-legacy | 4.1 <= 4.1.1 | affected |
Weaknesses
- CWE-295: CWE-295 Improper Certificate Validation
ADP Enrichment
CVE Program Container
Additional References
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.