CVE-2024-1351
Publication date 7 March 2024
Last updated 18 February 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| mongodb | 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal |
Vulnerable, fix deferred
|
|
| 18.04 LTS bionic |
Vulnerable, fix deferred
|
|
| 16.04 LTS xenial |
Vulnerable, fix deferred
|
|
| 14.04 LTS trusty |
Vulnerable, fix deferred
|
Notes
john-breton
Patches were released after the switch to SSPL upstream, as such we cannot use them to patch Ubuntu releases. The hope is a license-compliant third-party will make patches available in the future.
Patch details
| Package | Patch details |
|---|---|
| mongodb |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Adjacent |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Other 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://www.cve.org/CVERecord?id=CVE-2024-1351