CVE-2024-1351MongoDB Server may allow successful untrusted connection
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
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | mongodb | Fix pending | UBUNTU-CVE-2024-1351 | |
| Ubuntu 18.04 | mongodb | Fix pending | UBUNTU-CVE-2024-1351 | |
| Ubuntu 16.04 | mongodb | Fix pending | UBUNTU-CVE-2024-1351 | |
| Ubuntu 14.04 | mongodb | Fix pending | UBUNTU-CVE-2024-1351 |
What the vendor says
As published in the CVE record by mongodb, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MongoDB Inc MongoDB Server: affected: 7.0 to 7.0.5, 6.0 to 6.0.13, 5.0 to 5.0.24, 4.4 to 4.4.28
Vendor advisories:
- https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 (release-notes)
- https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 (release-notes)
- https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 (release-notes)
- https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 (release-notes)
References
- https://jira.mongodb.org/browse/SERVER-72839
- 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://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024
- https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024
- https://security.netapp.com/advisory/ntap-20240524-0010/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.