Home/CVE/Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct hos
CVE

CVE-2021-20328

Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct hos

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.

MEDIUM · CVSS 6.4 EPSS 0.00129
Monitor
  • No active-exploitation, high-EPSS, or public-exploit signals - routine patching cadence
Sigma rules0 YARA rules0

Weakness Classification

Affected Products & Versions

7
mongodb java driver>= 3.11.0 and < 3.11.3
mongodb java driver>= 3.12.0 and < 3.12.8
mongodb java driver>= 4.0.0 and < 4.0.6
mongodb java driver>= 4.1.0 and < 4.1.2
mongodb java driver>= 4.2.0 and < 4.2.1
quarkus< 1.13.3
quarkusall versions

Affected Packages

4
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
Maven org.mongodb:mongo-java-driver MODERATE fixed in 3.11.3
Maven org.mongodb:mongodb-driver MODERATE fixed in 3.11.3
Maven org.mongodb:mongodb-driver-legacy MODERATE fixed in 4.0.6
Maven org.mongodb:mongodb-driver-sync MODERATE fixed in 4.0.6

Scoring & Timeline

6.4
MEDIUM · CVSS v3.1 · cna@mongodb.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD25 Feb 2021 · 05:15 PM
CVSS VectorCVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
no
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

3
rhsaRHSA-2021:4918Important
rhsaRHSA-2021:4767Important
rhsaRHSA-2021:0871Moderate
🔗

References & Sources

1
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
https://jira.mongodb.org/browse/JAVA-4017Issue TrackingPatchVendor Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin