CVE-2021-20328

EUVD-2022-5169
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 32%
Affected Products (NVD)
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
bookworm
3.6.3-2
fixed
bullseye
3.6.3-2
fixed
sid
3.6.3-2
fixed
trixie
3.6.3-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mongo-java-driver
bionic
needs-triage
focal
needs-triage
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
dne
xenial
needs-triage