vulnerability

MongoDB: Improper Certificate Validation (CVE-2024-1351)

Severity
8
CVSS
(AV:A/AC:L/Au:N/C:C/I:C/A:C)
Published
Mar 7, 2024
Added
Mar 13, 2025
Modified
Aug 1, 2025

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.

Solutions

mongodb-upgrade-4_4_29mongodb-upgrade-5_0_25mongodb-upgrade-6_0_14mongodb-upgrade-7_0_6
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.