CVE-2021-20328
Improper Certificate Validation in MongoDB
Auswirkung
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.
Ein Angreifer kann die Lücke aus demselben lokalen Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.mongodb:mongodb-driver | >= 3.11.0, <= 3.11.2 | 3.11.3 |
| maven | org.mongodb:mongodb-driver-sync | >= 4.0.0, <= 4.0.5 | 4.0.6 |
| maven | org.mongodb:mongo-java-driver | >= 3.11.0, <= 3.11.2 | 3.11.3 |
| maven | org.mongodb:mongodb-driver-legacy | >= 4.0.0, <= 4.0.5 | 4.0.6 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| MongoDB | Java Driver | ab 3.11.0 vor 3.11.3 ab 3.12.0 vor 3.12.8 ab 4.0.0 vor 4.0.6 ab 4.1.0 vor 4.1.2 ab 4.2.0 vor 4.2.1 |
| Quarkus | Quarkus | vor 1.13.3 Version 1.13.3 |