CVE-2024-1351
published high CVSS 3.1 · 8.8MongoDB Server may allow successful untrusted connection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB Server7.0 through 7.0.5 · 6.0 through 6.0.13 · 5.0 through 5.0.24 · 4.4 through 4.4.28 · Other versions: unaffected | Affected | Not stated | mongodb |
| mongodb | — | mongodb7.0 through 7.0.5 · 6.0 through 6.0.13 · 5.0 through 5.0.24 · 4.4 through 4.4.28 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB Server | 7.0 through 7.0.5 (affected · custom)6.0 through 6.0.13 (affected · custom)5.0 through 5.0.24 (affected · custom)4.4 through 4.4.28 (affected · custom)Default: unaffected | mongodb · cna |
| mongodb | mongodb | 7.0 through 7.0.5 (affected · custom)6.0 through 6.0.13 (affected · custom)5.0 through 5.0.24 (affected · custom)4.4 through 4.4.28 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
6- 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
Provider assertions
3mongodb · cna
MongoDB Server may allow successful untrusted connection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- abacab6bb7ba899eb5218231cfd642252b3f8cc4263034157b941f91454aa1b4
- Ingested
- 23 Sep 2026, 08:18:10 UTC
- Source record
- Official CVE record