Loading HuntDB...

CVE-2021-20328

MEDIUM
Published 2021-02-25T16:30:14.536970Z
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2021-20328. We'll provide specific mitigation strategies based on your environment and risk profile.

CVSS Score

V3.1
6.4
/10
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Base Score Metrics
Exploitability: N/A Impact: N/A

EPSS Score

v2025.03.14
0.001
probability
of exploitation in the wild

There is a 0.1% chance that this vulnerability will be exploited in the wild within the next 30 days.

Updated: 2025-06-25
Exploit Probability
Percentile: 0.333
Higher than 33.3% of all CVEs

Attack Vector Metrics

Attack Vector
ADJACENT_NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED

Impact Metrics

Confidentiality
HIGH
Integrity
HIGH
Availability
NONE

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

Improper Certificate Validation in MongoDB

GHSA-rghw-6px2-fgwc

Advisory Details

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 Packages

Maven org.mongodb:mongodb-driver
ECOSYSTEM: ≥3.11.0 <3.11.3
Maven org.mongodb:mongodb-driver
ECOSYSTEM: ≥3.12.0 <3.12.8
Maven org.mongodb:mongodb-driver-sync
ECOSYSTEM: ≥4.0.0 <4.0.6
Maven org.mongodb:mongodb-driver-sync
ECOSYSTEM: ≥4.1.0 <4.1.2
Maven org.mongodb:mongodb-driver-sync
ECOSYSTEM: ≥4.2.0 <4.2.1
Maven org.mongodb:mongo-java-driver
ECOSYSTEM: ≥3.11.0 <3.11.3
Maven org.mongodb:mongo-java-driver
ECOSYSTEM: ≥3.12.0 <3.12.8
Maven org.mongodb:mongodb-driver-legacy
ECOSYSTEM: ≥4.0.0 <4.0.6
Maven org.mongodb:mongodb-driver-legacy
ECOSYSTEM: ≥4.1.0 <4.1.2
Maven org.mongodb:mongodb-driver-legacy
ECOSYSTEM: ≥3.11.0 <3.11.3
Maven org.mongodb:mongodb-driver-legacy
ECOSYSTEM: ≥3.12.0 <3.12.8
Maven org.mongodb:mongodb-driver-sync
ECOSYSTEM: ≥3.12.0 <3.12.8
Maven org.mongodb:mongodb-driver-sync
ECOSYSTEM: ≥3.11.0 <3.11.3
Maven org.mongodb:mongodb-driver-legacy
ECOSYSTEM: ≥4.2.0 <4.2.1

CVSS Scoring

CVSS Score

5.0

CVSS Vector

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Advisory provided by GitHub Security Advisory Database. Published: May 24, 2022, Modified: February 13, 2024

References

Published: 2021-02-25T16:30:14.536970Z
Last Modified: 2024-09-16T19:10:28.653Z
Copied to clipboard!