CVE-2024-1351Mongodb
Critical 9.8 No auth needed
Follow: this CVE · Mongodb · Mongodb We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Mar 7, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mongodb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | mongodb | ≥ 4.4.0 < 4.4.29 |
| mongodb | mongodb | ≥ 5.0.0 < 5.0.25 |
| mongodb | mongodb | ≥ 6.0.0 < 6.0.14 |
| mongodb | mongodb | ≥ 7.0.0 < 7.0.6 |
| netapp | astra_control_center | all |
| netapp | ontap_tools | 10 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Patch Vendor Advisory
- security.netapp.com Third Party Advisory
- www.mongodb.com Broken Link
- www.mongodb.com Release Notes
- www.mongodb.com Release Notes
- www.mongodb.com Release Notes