CVE catalog

CVE-2021-20328

mongo-java-driver: CVE-2021-20328

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:F/RL:U/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
0.44% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmongo-java-driversid3.6.3-2.1not affected
Debianmongo-java-driverforky3.6.3-2.1not affected
Debianmongo-java-drivertrixie3.6.3-2not affected
Debianmongo-java-driverbookworm3.6.3-2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmongo-java-driversourcesidNot affectedunimportantNot reportedNot reported
Debianmongo-java-driversourceforkyNot affectedunimportantNot reportedNot reported
Debianmongo-java-driversourcetrixieNot affectedunimportantNot reportedNot reported
Debianmongo-java-driversourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libmongodb-java]Not affected

    Source package: [mongo-java-driver]

    Details (2)
    • 3.6.3-2 · all · bookworm

      Not affected

      dsa · mongo-java-driver · debian · bookworm

    • 3.6.3-2 · all · bookworm

      Not affected

      dsa · mongo-java-driver · debian · bookworm

Observed:

References