CVE-2021-20328
Last modified
CVE-2021-20328 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Java Driver | >= 3.11.0, < 3.11.3 |
| Mongodb | Java Driver | >= 3.12.0, < 3.12.8 |
| Mongodb | Java Driver | >= 4.0.0, < 4.0.6 |
| Mongodb | Java Driver | >= 4.1.0, < 4.1.2 |
| Mongodb | Java Driver | >= 4.2.0, < 4.2.1 |
| Quarkus | Quarkus | < 1.13.3 |
| Quarkus | Quarkus | 1.13.3 |
References
- https://jira.mongodb.org/browse/JAVA-4017Issue Tracking, Patch, Vendor Advisory
- https://jira.mongodb.org/browse/JAVA-4017Issue Tracking, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20328?
How severe is CVE-2021-20328?
How do I fix CVE-2021-20328?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20322A flaw in the processing of received ICMP errors (ICMP fragm…7.4
- CVE-2021-20323A POST based reflected Cross Site Scripting vulnerability on…6.1
- CVE-2021-20324Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20325Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the v…9.8
- CVE-2021-20326A user authorized to performing a specific type of find quer…6.5
- CVE-2021-20327A specific version of the Node.js mongodb-client-encryption …6.8
- CVE-2021-20329Specific cstrings input may not be properly validated in the…6.5
- CVE-2021-2033Vulnerability in the Oracle WebLogic Server product of Oracl…4.3
- CVE-2021-20330An attacker with basic CRUD permissions on a replicated coll…6.5
- CVE-2021-20331Specific versions of the MongoDB C# Driver may erroneously p…4.9
- CVE-2021-20332Specific MongoDB Rust Driver versions can include credential…4.4
- CVE-2021-20333Sending specially crafted commands to a MongoDB Server may r…5.3
Are you affected by CVE-2021-20328?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
