Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4017

Fix CVE-2021-20328

    XMLWordPrintable

    Details

      Description

      Fix CVE-2021-20328

      CVE ID: CVE-2021-20328

      Title: MongoDB Java driver client-side field level encryption not verifying KMS host name

      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.

      CVSS Score: 6.4 

      https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

      Exact affected versions:

      • mongo-java-driver, mongodb-driver, mongodb-driver-sync, mongodb-driver-legacy: 3.11.0 - 3.11.2, 3.12.0 - 3.12.7
      • mongodb-driver-sync, mongodb-driver-legacy: 4.0.0 - 4.0.5, 4.1.0 - 4.1.1, 4.2.0

      Is fixed version available: Yes.  Fixed versions:

      • mongo-java-driver, mongodb-driver, mongodb-driver-sync, mongodb-driver-legacy: 3.11.3, 3.12.8.
      • mongodb-driver-sync, mongodb-driver-legacy: 4.0.6, 4.1.2, 4.2.1

      Underlying operating systems affected: All

      How the issue was discovered: Internally

        Attachments

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            jeff.yemin Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: