CVE-2021-20328Mongodb Java Driver
Media 6.8 Sin autenticación
Seguir: esta CVE · Mongodb · Mongodb Java Driver Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 56
- CVSS 3.1
- 6.8
- EPSS
- 0.4% probabilidad de explotación en 30 días · percentil 40
- Requiere autenticación
- No
- Publicada
- 25 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-295
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Java Driver.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | org.mongodb:mongo-java-driver |
≥ 3.11.0 < 3.11.3 |
3.11.3 |
— |
| Maven | org.mongodb:mongo-java-driver |
≥ 3.12.0 < 3.12.8 |
3.12.8 |
— |
| Maven | org.mongodb:mongodb-driver |
≥ 3.11.0 < 3.11.3 |
3.11.3 |
— |
| Maven | org.mongodb:mongodb-driver |
≥ 3.12.0 < 3.12.8 |
3.12.8 |
— |
| Maven | org.mongodb:mongodb-driver-legacy |
≥ 4.0.0 < 4.0.6 |
4.0.6 |
— |
| Maven | org.mongodb:mongodb-driver-legacy |
≥ 4.1.0 < 4.1.2 |
4.1.2 |
— |
| Maven | org.mongodb:mongodb-driver-legacy |
≥ 3.11.0 < 3.11.3 |
3.11.3 |
— |
| Maven | org.mongodb:mongodb-driver-legacy |
≥ 3.12.0 < 3.12.8 |
3.12.8 |
— |
| Maven | org.mongodb:mongodb-driver-legacy |
≥ 4.2.0 < 4.2.1 |
4.2.1 |
— |
| Maven | org.mongodb:mongodb-driver-sync |
≥ 4.0.0 < 4.0.6 |
4.0.6 |
— |
| Maven | org.mongodb:mongodb-driver-sync |
≥ 4.1.0 < 4.1.2 |
4.1.2 |
— |
| Maven | org.mongodb:mongodb-driver-sync |
≥ 4.2.0 < 4.2.1 |
4.2.1 |
— |
| Maven | org.mongodb:mongodb-driver-sync |
≥ 3.12.0 < 3.12.8 |
3.12.8 |
— |
| Maven | org.mongodb:mongodb-driver-sync |
≥ 3.11.0 < 3.11.3 |
3.11.3 |
— |
Según OSV / GitHub Advisories (GHSA-rghw-6px2-fgwc). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| 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 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- jira.mongodb.org Issue Tracking Patch Vendor Advisory