CVEvulnerability

CVE-2021-20328

6.8 MEDIUM Published 2021-02-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-02-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.4 MEDIUM — CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS 3.1 ([email protected])
6.8 MEDIUM — CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:A/AC:M/Au:N/C:P/I:P/A:N
Weaknesses
CWE-295

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References