Improper Certificate Validation in MongoDB
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.mongodb:mongodb-driver | >= 3.11.0, < 3.11.3, >= 3.12.0, < 3.12.8 | 3.11.3, 3.12.8 |
| Java / Kotlin (Maven) | org.mongodb:mongodb-driver-legacy | >= 4.0.0, < 4.0.6, >= 4.1.0, < 4.1.2, >= 3.11.0, < 3.11.3, >= 3.12.0, < 3.12.8, >= 4.2.0, < 4.2.1 | 4.0.6, 4.1.2, 3.11.3, 3.12.8, 4.2.1 |
| Java / Kotlin (Maven) | org.mongodb:mongodb-driver-sync | >= 4.0.0, < 4.0.6, >= 4.1.0, < 4.1.2, >= 4.2.0, < 4.2.1, >= 3.12.0, < 3.12.8, >= 3.11.0, < 3.11.3 | 4.0.6, 4.1.2, 4.2.1, 3.12.8, 3.11.3 |
| Java / Kotlin (Maven) | org.mongodb:mongo-java-driver | >= 3.11.0, < 3.11.3, >= 3.12.0, < 3.12.8 | 3.11.3, 3.12.8 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-295- Plattform
- Java / Kotlin (Maven)
- Paket
org.mongodb:mongodb-driver, org.mongodb:mongodb-driver-legacy, org.mongodb:mongodb-driver-sync- Veröffentlicht
- 24.05.2022
- Aktualisiert
- 11.10.2026 11:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-rghw-6px2-fgwc - CC BY 4.0
Schwachstellenhistorie: org.mongodb:mongodb-driver-sync
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.