Java driver CSFLE KMS certificate hostname verification failure
CVE-2021-20328Medium
The Java driver fails to correctly verify the hostname on certificates presented by KMS servers when using client-side field level encryption. An attacker with a privileged network position could perform a man-in-the-middle attack to intercept traffic between the driver and the KMS service, rendering field level encryption ineffective. The attacker would need to be able to intercept network traffic and present a valid certificate for a different hostname. This issue does not affect the Java async, Scala, and reactive streams drivers, nor does it impact applications running within AWS, GCP, or Azure network environments.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Detail
Weakness: CWE-295 (opens in a new tab)
Affected versions
- mongodb java driver: from 3.11.0, before 3.11.3
- mongodb java driver: from 3.12.0, before 3.12.8
- mongodb java driver: from 4.0.0, before 4.0.6
- mongodb java driver: from 4.1.0, before 4.1.2
- mongodb java driver: from 4.2.0, before 4.2.1
- quarkus quarkus: before 1.13.3
- quarkus quarkus: 1.13.3
Reports naming this CVE1 in total
· All CISA Advisories
ABB Ability Zenon (opens in a new tab)