Original 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.
Affected software
- MongoDB ≥ 4.4.0 < 4.4.29≥ 7.0.0 < 7.0.6≥ 5.0.0 < 5.0.25≥ 6.0.0 < 6.0.14 Fixed in: 4.4.29, 7.0.6, 5.0.25, 6.0.14 exact match
Details
- Published
- 2024-03-08
- Last modified
- 2025-02-14
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-295
- EPSS (30-day exploit probability)
- 0.50% (percentile 43)
References
- cve.org/CVE-2024-1351
- nvd.nist.gov/vuln/detail/CVE-2024-1351
- jira.mongodb.org/browse/SERVER-72839
- www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024
- www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024
- www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024
- www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024
- security.netapp.com/advisory/ntap-20240524-0010/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.