8.8high
MongoDB Server may allow successful untrusted connection
- Severity
- 8.8high CVSS:3.1 by mongodb
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2024-1351
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc MongoDB Server | from 7.0 up to 7.0.5, from 6.0 up to 6.0.13, from 5.0 up to 5.0.24, from 4.4 up to 4.4.28 | CVE List |
| mongodb mongodb | from 7.0 up to 7.0.5, from 6.0 up to 6.0.13, from 5.0 up to 5.0.24, from 4.4 up to 4.4.28, from 4.4.0 before 4.4.29, from 5.0.0 before 5.0.25, from 6.0.0 before 6.0.14, from 7.0.0 before 7.0.6 | CVE List, NVD |
| netapp astra_control_center | Not specified | NVD |
| netapp ontap_tools | 10 | NVD |
| mongodb (Bitnami) | from 4.4.0 before 5.0.26, from 6.0.0 before 6.0.14, from 7.0.0 before 7.0.7 | Bitnami Vulnerability Database |
All scores
| mongodb | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Bajo ciertas configuraciones de --tlsCAFile y tls.CAFile, el servidor MongoDB puede omitir la validación de certificados de pares, lo que puede resultar en conexiones que no son de confianza para tener éxito. Esto puede reducir efectivamente las garantías de seguridad proporcionadas por TLS y abrir conexiones que deberían haberse cerrado debido a una validación fallida del certificado. Este problema afecta a las versiones de MongoDB Server v7.0 anteriores a 7.0.5 incluida, a las versiones de MongoDB Server v6.0 anteriores a 6.0.13 incluida, a las versiones de MongoDB Server v5.0 anteriores a 5.0.24 incluida y a MongoDB Server v4.4 Versiones anteriores a la 4.4.28 incluida. Configuración requerida: un proceso de servidor permitirá que las conexiones entrantes omitan la validación del certificado de pares si el proceso del servidor se inició con TLS habilitado (net.tls.mode configurado en enableTLS, preferTLS o requireTLS) y sin un archivo net.tls.CAFile configurado.
References
| https://jira.mongodb.org/browse/SERVER-72839 | advisory, issue-tracking, patch, vendor-advisory | |
| https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 | article, release-notes | |
| https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 | article, release-notes | |
| https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 | article, release-notes | |
| https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 | broken-link, release-notes, web | |
| https://security.netapp.com/advisory/ntap-20240524-0010/ | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-1351 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-1351 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2024-1351 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2024-1351 changed 2026-09-08 | Apache-2.0 |