CVE-2024-1351
Severity CVSS v4.0:
Pending analysis
Type:
CWE-295
Improper Certificate Validation
Publication date:
07/03/2024
Last modified:
11/03/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.<br />
<br />
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* | 4.4.0 (including) | 4.4.29 (excluding) |
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* | 5.0.0 (including) | 5.0.25 (excluding) |
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* | 6.0.0 (including) | 6.0.14 (excluding) |
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* | 7.0.0 (including) | 7.0.6 (excluding) |
cpe:2.3:a:netapp:astra_control_center:-:*:*:*:*:*:*:* | ||
cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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
- 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