1. Archivio CVE
  2. 2021
  3. CVE-2021-20328

CVE-2021-20328

6.8 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N 6.8 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mongodb java driver >= 3.11.0 < 3.11.3 mongodb
mongodb java driver >= 3.12.0 < 3.12.8 mongodb
mongodb java driver >= 4.0.0 < 4.0.6 mongodb
mongodb java driver >= 4.1.0 < 4.1.2 mongodb
mongodb java driver >= 4.2.0 < 4.2.1 mongodb
quarkus quarkus < 1.13.3 –
quarkus quarkus 1.13.3 –
Tutte le 8 vulnerabilità di Mongodb Java Driver

Tipo di vulnerabilità

CWE-295 Validazione impropria del certificato

Il prodotto non verifica, o verifica in modo errato, un certificato digitale, esponendo le comunicazioni a intercettazioni.

Impatto sui sistemi

AmbitoImpatto
Integrità, Autenticazione Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Sviluppo Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Sviluppo If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.811 CVE di tipo CWE-295, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org