#VU116642 Improper Certificate Validation in MongoDB - CVE-2024-1351
Published: October 7, 2025
Vulnerability identifier: #VU116642
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-1351
CWE-ID: CWE-295
Exploitation vector: Adjecent network
Exploit availability:
No public exploit available
Vulnerable software:
MongoDB
MongoDB
Software vendor:
MongoDB, Inc.
MongoDB, Inc.
Description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to under certain configurations of --tlsCAFile and tls.CAFile the server may skip peer certificate validation. A remote attacker can perform MitM attack and compromise communication between MongoDB server and client.
Remediation
Install updates from vendor's website.
External links
- https://jira.mongodb.org/browse/SERVER-72839
- https://security.netapp.com/advisory/ntap-20240524-0010/
- https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024
- https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024
- https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024
- https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024