PatchSiren cyber security CVE debrief
CVE-2021-20328 MongoDB Inc. CVE debrief
A vulnerability in the Java driver for MongoDB allows for incorrect hostname verification on the KMS server's certificate. This could lead to interception of traffic between the Java driver and the KMS service, rendering Field Level Encryption ineffective. The issue affects all versions of the Java driver that support client-side field level encryption (CSFLE).
- Vendor
- MongoDB Inc.
- Product
- Ability Zenon
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-30
- Original CVE updated
- 2026-08-06
- Advisory published
- 2026-07-30
- Advisory updated
- 2026-08-06
Who should care
Defenders responsible for MongoDB Java driver deployments, especially those using Field Level Encryption, should assess their exposure and verify the use of supported driver versions.
Why it matters
CVE-2021-20328 allows for incorrect hostname verification on KMS server's certificate in MongoDB Java driver, impacting Field Level Encryption. Defenders should verify driver versions, assess exposure, and consider compensating controls.
- Interception of traffic between Java driver and KMS service
- Ineffectiveness of Field Level Encryption
- Potential for MITM attacks in untrusted networks
- Verification of driver version and configuration required
Technical summary
The Java driver for MongoDB fails to perform correct hostname verification on the KMS server's certificate when supporting client-side field level encryption (CSFLE). 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. The issue was discovered during internal testing and affects all versions of the Java driver that support CSFLE. Compensating controls in AWS, GCP, and Azure network fabrics mitigate the vulnerability for driver traffic payloads with CSFLE-supported key services originating from applications within these environments. Defenders A
Defensive priority
Defenders should prioritize verifying the use of Field Level Encryption in their environment and assessing the exposure of MongoDB Java drivers to untrusted networks.
Recommended defensive actions
- Verify the use of Field Level Encryption in your environment
- Assess the exposure of MongoDB Java drivers to untrusted networks
- Consider replacing bundled MongoDB with a supported version if IIoT services are required
- Uninstall IIoT Services if not required
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The issue was discovered during internal testing and affects all versions of the Java driver that support CSFLE. Compensating controls in AWS, GCP, and Azure network fabrics mitigate the vulnerability for driver traffic payloads with CSFLE-supported key services originating from applications within these environments.
Sources and references
Verified primary and authoritative sources
-
CVE-2021-20328 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2021-20328
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2021-20328 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2021-20328
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
CVE-2021-20328
Unverified legacy reference
URL: https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2026/icsa-26-218-01.json
cisa_csaf
-
Source reference
Unverified legacy reference
URL: https://psirt.abb.com/csaf/2026/9akk108472a9037.json
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/news-events/ics-advisories/icsa-26-218-01
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/news-events/ics-alerts/ics-alert-10-301-01
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/resources-tools/resources/ics-recommended-practices
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/topics/industrial-control-systems
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/sites/default/files/recommended_practices/NCCIC_ICS-CERT_Defense_in_Depth_2016_S508C.pdf
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.cisa.gov/sites/default/files/publications/Cybersecurity_Best_Practices_for_Industrial_Control_Systems.pdf
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.