CVE-2021-20328

Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS servers 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 dont use Field Level Encryption.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.4 MEDIUM
ADJACENT_NETWORK
HIGH
NONE
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
mongodbCNA
6.4 MEDIUM
ADJACENT_NETWORK
HIGH
NONE
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 14%
VendorProductVersion
mongodbjava_driver
3.11.0 ≤
𝑥
< 3.11.3
mongodbjava_driver
3.12.0 ≤
𝑥
< 3.12.8
mongodbjava_driver
4.0.0 ≤
𝑥
< 4.0.6
mongodbjava_driver
4.1.0 ≤
𝑥
< 4.1.2
mongodbjava_driver
4.2.0 ≤
𝑥
< 4.2.1
quarkusquarkus
𝑥
< 1.13.3
quarkusquarkus
1.13.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
mongo-java-driver
sid
3.6.3-2
fixed
trixie
3.6.3-2
fixed
bookworm
3.6.3-2
fixed
bullseye
3.6.3-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mongo-java-driver
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
impish
ignored
hirsute
ignored
groovy
ignored
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
dne