All the vulnerabilites related to MongoDB Inc. - mongodb-driver-sync
cve-2021-20328
Vulnerability from cvelistv5
Published
2021-02-25 16:30
Modified
2024-09-16 19:10
Severity ?
EPSS score ?
Summary
MongoDB Java driver client-side field level encryption not verifying KMS host name
References
▼ | URL | Tags |
---|---|---|
https://jira.mongodb.org/browse/JAVA-4017 | x_refsource_MISC |
Impacted products
Vendor | Product | Version | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
▼ | MongoDB Inc. | mongo-java-driver |
Version: 3.11 < Version: 3.12 < |
||||||||||||
|
{ "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.536970Z", "dateReserved": "2020-12-17T00:00:00", "dateUpdated": "2024-09-16T19:10:28.653Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }