CVE-2024-1351
HIGHDescription
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 39% of all known CVEs.
References
Related Vulnerabilities
Other CWE-295 (Improper Certificate Validation) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2015-4000 | Low | 3.7 | 100% | - | Fix |
| CVE-2020-0601 | High | 8.1 | 89% | KEV | Fix |
| CVE-2009-3555 | Critical | 9.8 | 87% | - | Fix |
| CVE-2022-26923 | High | 8.8 | 83% | KEV | Fix |
| CVE-2023-27823 | Critical | 9.8 | 53% | - | - |
| CVE-2022-42979 | High | 8.8 | 24% | - | - |
Embed a live status badge for CVE-2024-1351
Markdown
[](https://tridentstack.com/cve/CVE-2024-1351)HTML
<a href="https://tridentstack.com/cve/CVE-2024-1351"><img src="https://tridentstack.com/cve/badge/CVE-2024-1351.svg" alt="CVE-2024-1351"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-11.