CVE-2024-1351

MongoDB Server may allow successful untrusted connection

Description

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.12%
Vendor Advisory mongodb.org
Affected: MongoDB Inc MongoDB Server
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-1351?
CVE-2024-1351 has been scored as a high severity vulnerability.
How to fix CVE-2024-1351?
To fix CVE-2024-1351, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-1351 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-1351 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-1351?
CVE-2024-1351 affects MongoDB Inc MongoDB Server.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.