
CVE catalog
CVE-2021-20328
mongo-java-driver: CVE-2021-20328
- Severity
- Medium · CVSS 6.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mongo-java-driver | sid | 3.6.3-2.1 | not affected |
| Debian | mongo-java-driver | forky | 3.6.3-2.1 | not affected |
| Debian | mongo-java-driver | trixie | 3.6.3-2 | not affected |
| Debian | mongo-java-driver | bookworm | 3.6.3-2 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mongo-java-driver | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | mongo-java-driver | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | mongo-java-driver | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | mongo-java-driver | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmongodb-java]Not affected
Source package: [mongo-java-driver]
Details (2)
3.6.3-2· all · bookwormNot affected
dsa · mongo-java-driver · debian · bookworm
3.6.3-2· all · bookwormNot affected
dsa · mongo-java-driver · debian · bookworm
Observed:
References
- [https://psirt.abb.com/csaf/2026/9akk108472a9037.json]
- [https://security-tracker.debian.org/tracker/CVE-2021-20328]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20328.json]
[CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [Red Hat security advisories and VEX]