CVE-2021-20328 (GCVE-0-2021-20328)

Vulnerability from cvelistv5 – Published: 2021-02-25 16:30 – Updated: 2024-09-16 19:10
VLAI?
Title
MongoDB Java driver client-side field level encryption not verifying KMS host name
Summary
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.
CWE
  • CWE-295 - Improper Certificate Validation
Assigner
References
Impacted products
Vendor Product Version
MongoDB Inc. mongo-java-driver Affected: 3.11 , ≤ 3.11.2 (custom)
Affected: 3.12 , ≤ 3.12.7 (custom)
Create a notification for this product.
    MongoDB Inc. mongodb-driver Affected: 3.11 , ≤ 3.11.2 (custom)
Affected: 3.12 , ≤ 3.12.7 (custom)
Create a notification for this product.
    MongoDB Inc. mongodb-driver-sync Affected: 4.2.0
Affected: 3.11 , ≤ 3.11.2 (custom)
Affected: 3.12 , ≤ 3.12.7 (custom)
Affected: 4.0 , ≤ 4.0.5 (custom)
Affected: 4.1 , ≤ 4.1.1 (custom)
Create a notification for this product.
    MongoDB Inc. mongodb-driver-legacy Affected: 4.2.0
Affected: 3.11 , ≤ 3.11.2 (custom)
Affected: 3.12 , ≤ 3.12.7 (custom)
Affected: 4.0 , ≤ 4.0.5 (custom)
Affected: 4.1 , ≤ 4.1.1 (custom)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T17:37:24.117Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://jira.mongodb.org/browse/JAVA-4017"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:a:mongodb:java_driver:*:*:*:*:*:mongodb:*:*"
            ],
            "defaultStatus": "unaffected",
            "product": "java_driver",
            "vendor": "mongodb",
            "versions": [
              {
                "lessThanOrEqual": "3.11.2",
                "status": "affected",
                "version": "3.11",
                "versionType": "custom"
              },
              {
                "lessThanOrEqual": "3.12.7",
                "status": "affected",
                "version": "3.12",
                "versionType": "custom"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-20328",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-02-13T16:48:15.681647Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-15T17:36:34.465Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "mongo-java-driver",
          "vendor": "MongoDB Inc.",
          "versions": [
            {
              "lessThanOrEqual": "3.11.2",
              "status": "affected",
              "version": "3.11",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "3.12.7",
              "status": "affected",
              "version": "3.12",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "mongodb-driver",
          "vendor": "MongoDB Inc.",
          "versions": [
            {
              "lessThanOrEqual": "3.11.2",
              "status": "affected",
              "version": "3.11",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "3.12.7",
              "status": "affected",
              "version": "3.12",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "mongodb-driver-sync",
          "vendor": "MongoDB Inc.",
          "versions": [
            {
              "status": "affected",
              "version": "4.2.0"
            },
            {
              "lessThanOrEqual": "3.11.2",
              "status": "affected",
              "version": "3.11",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "3.12.7",
              "status": "affected",
              "version": "3.12",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "4.0.5",
              "status": "affected",
              "version": "4.0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "4.1.1",
              "status": "affected",
              "version": "4.1",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "mongodb-driver-legacy",
          "vendor": "MongoDB Inc.",
          "versions": [
            {
              "status": "affected",
              "version": "4.2.0"
            },
            {
              "lessThanOrEqual": "3.11.2",
              "status": "affected",
              "version": "3.11",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "3.12.7",
              "status": "affected",
              "version": "3.12",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "4.0.5",
              "status": "affected",
              "version": "4.0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "4.1.1",
              "status": "affected",
              "version": "4.1",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2021-02-25T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eSpecific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS server\u2019s 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\u2019t use Field Level Encryption.\u003c/p\u003e"
            }
          ],
          "value": "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\u2019s 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\u2019t use Field Level Encryption."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "ADJACENT_NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-295",
              "description": "CWE-295 Improper Certificate Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-02-13T13:39:14.648Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://jira.mongodb.org/browse/JAVA-4017"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "MongoDB Java driver client-side field level encryption not verifying KMS host name",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cna@mongodb.com",
          "DATE_PUBLIC": "2021-02-25T17:00:00.000Z",
          "ID": "CVE-2021-20328",
          "STATE": "PUBLIC",
          "TITLE": "MongoDB Java driver client-side field level encryption not verifying KMS host name"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "mongo-java-driver",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.11",
                            "version_value": "3.11.2"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.12",
                            "version_value": "3.12.7"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "mongodb-driver",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.11",
                            "version_value": "3.11.2"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.12",
                            "version_value": "3.12.7"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "mongodb-driver-sync",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.11",
                            "version_value": "3.11.2"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.12",
                            "version_value": "3.12.7"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "4.0",
                            "version_value": "4.0.5"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "4.1",
                            "version_value": "4.1.1"
                          },
                          {
                            "version_affected": "=",
                            "version_name": "4.2",
                            "version_value": "4.2.0"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "mongodb-driver-legacy",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.11",
                            "version_value": "3.11.2"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "3.12",
                            "version_value": "3.12.7"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "4.0",
                            "version_value": "4.0.5"
                          },
                          {
                            "version_affected": "\u003c=",
                            "version_name": "4.1",
                            "version_value": "4.1.1"
                          },
                          {
                            "version_affected": "=",
                            "version_name": "4.2",
                            "version_value": "4.2.0"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "MongoDB Inc."
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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\u2019s 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\u2019t use Field Level Encryption."
            }
          ]
        },
        "generator": {
          "engine": "Vulnogram 0.0.9"
        },
        "impact": {
          "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "ADJACENT_NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-295 Improper Certificate Validation"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://jira.mongodb.org/browse/JAVA-4017",
              "refsource": "MISC",
              "url": "https://jira.mongodb.org/browse/JAVA-4017"
            }
          ]
        },
        "source": {
          "discovery": "INTERNAL"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2021-20328",
    "datePublished": "2021-02-25T16:30:14.536Z",
    "dateReserved": "2020-12-17T00:00:00.000Z",
    "dateUpdated": "2024-09-16T19:10:28.653Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://jira.mongodb.org/browse/JAVA-4017\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T17:37:24.117Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-20328\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-02-13T16:48:15.681647Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:mongodb:java_driver:*:*:*:*:*:mongodb:*:*\"], \"vendor\": \"mongodb\", \"product\": \"java_driver\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.11.2\"}, {\"status\": \"affected\", \"version\": \"3.12\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.12.7\"}], \"defaultStatus\": \"unaffected\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-15T17:36:29.600Z\"}}], \"cna\": {\"title\": \"MongoDB Java driver client-side field level encryption not verifying KMS host name\", \"source\": {\"discovery\": \"INTERNAL\"}, \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.4, \"attackVector\": \"ADJACENT_NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"MongoDB Inc.\", \"product\": \"mongo-java-driver\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.11.2\"}, {\"status\": \"affected\", \"version\": \"3.12\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.12.7\"}], \"defaultStatus\": \"unaffected\"}, {\"vendor\": \"MongoDB Inc.\", \"product\": \"mongodb-driver\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.11.2\"}, {\"status\": \"affected\", \"version\": \"3.12\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.12.7\"}], \"defaultStatus\": \"unaffected\"}, {\"vendor\": \"MongoDB Inc.\", \"product\": \"mongodb-driver-sync\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.2.0\"}, {\"status\": \"affected\", \"version\": \"3.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.11.2\"}, {\"status\": \"affected\", \"version\": \"3.12\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.12.7\"}, {\"status\": \"affected\", \"version\": \"4.0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.0.5\"}, {\"status\": \"affected\", \"version\": \"4.1\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.1.1\"}], \"defaultStatus\": \"unaffected\"}, {\"vendor\": \"MongoDB Inc.\", \"product\": \"mongodb-driver-legacy\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.2.0\"}, {\"status\": \"affected\", \"version\": \"3.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.11.2\"}, {\"status\": \"affected\", \"version\": \"3.12\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"3.12.7\"}, {\"status\": \"affected\", \"version\": \"4.0\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.0.5\"}, {\"status\": \"affected\", \"version\": \"4.1\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"4.1.1\"}], \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2021-02-25T00:00:00.000Z\", \"references\": [{\"url\": \"https://jira.mongodb.org/browse/JAVA-4017\", \"tags\": [\"x_refsource_MISC\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.0.9\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\\u2019s 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\\u2019t use Field Level Encryption.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eSpecific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS server\\u2019s 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\\u2019t use Field Level Encryption.\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-295\", \"description\": \"CWE-295 Improper Certificate Validation\"}]}], \"providerMetadata\": {\"orgId\": \"a39b4221-9bd0-4244-95fc-f3e2e07f1deb\", \"shortName\": \"mongodb\", \"dateUpdated\": \"2024-02-13T13:39:14.648Z\"}, \"x_legacyV4Record\": {\"impact\": {\"cvss\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.4, \"attackVector\": \"ADJACENT_NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, \"source\": {\"discovery\": \"INTERNAL\"}, \"affects\": {\"vendor\": {\"vendor_data\": [{\"product\": {\"product_data\": [{\"version\": {\"version_data\": [{\"version_name\": \"3.11\", \"version_value\": \"3.11.2\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"3.12\", \"version_value\": \"3.12.7\", \"version_affected\": \"\u003c=\"}]}, \"product_name\": \"mongo-java-driver\"}, {\"version\": {\"version_data\": [{\"version_name\": \"3.11\", \"version_value\": \"3.11.2\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"3.12\", \"version_value\": \"3.12.7\", \"version_affected\": \"\u003c=\"}]}, \"product_name\": \"mongodb-driver\"}, {\"version\": {\"version_data\": [{\"version_name\": \"3.11\", \"version_value\": \"3.11.2\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"3.12\", \"version_value\": \"3.12.7\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.0\", \"version_value\": \"4.0.5\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.1\", \"version_value\": \"4.1.1\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.2\", \"version_value\": \"4.2.0\", \"version_affected\": \"=\"}]}, \"product_name\": \"mongodb-driver-sync\"}, {\"version\": {\"version_data\": [{\"version_name\": \"3.11\", \"version_value\": \"3.11.2\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"3.12\", \"version_value\": \"3.12.7\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.0\", \"version_value\": \"4.0.5\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.1\", \"version_value\": \"4.1.1\", \"version_affected\": \"\u003c=\"}, {\"version_name\": \"4.2\", \"version_value\": \"4.2.0\", \"version_affected\": \"=\"}]}, \"product_name\": \"mongodb-driver-legacy\"}]}, \"vendor_name\": \"MongoDB Inc.\"}]}}, \"data_type\": \"CVE\", \"generator\": {\"engine\": \"Vulnogram 0.0.9\"}, \"references\": {\"reference_data\": [{\"url\": \"https://jira.mongodb.org/browse/JAVA-4017\", \"name\": \"https://jira.mongodb.org/browse/JAVA-4017\", \"refsource\": \"MISC\"}]}, \"data_format\": \"MITRE\", \"description\": {\"description_data\": [{\"lang\": \"eng\", \"value\": \"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\\u2019s 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\\u2019t use Field Level Encryption.\"}]}, \"problemtype\": {\"problemtype_data\": [{\"description\": [{\"lang\": \"eng\", \"value\": \"CWE-295 Improper Certificate Validation\"}]}]}, \"data_version\": \"4.0\", \"CVE_data_meta\": {\"ID\": \"CVE-2021-20328\", \"STATE\": \"PUBLIC\", \"TITLE\": \"MongoDB Java driver client-side field level encryption not verifying KMS host name\", \"ASSIGNER\": \"cna@mongodb.com\", \"DATE_PUBLIC\": \"2021-02-25T17:00:00.000Z\"}}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-20328\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-16T19:10:28.653Z\", \"dateReserved\": \"2020-12-17T00:00:00\", \"assignerOrgId\": \"a39b4221-9bd0-4244-95fc-f3e2e07f1deb\", \"datePublished\": \"2021-02-25T16:30:14.536970Z\", \"assignerShortName\": \"mongodb\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…