CVE-2024-1351
MongoDB Server may allow successful untrusted connection
CVE-2024-1351 is a weak cert validation in Mongodb (CVSS 8.8, High).
No known exploitation. EPSS puts it in the 51st percentile. A vendor fix is available.
No public exploit knownFixVendor fixNo build named by the sources
e.g. OID 1.3.6.1.4.1.25623.1.0.151888
What to do
The vendor has published a fix. Version details are below where the sources state them.
- MongoDB Inc MongoDB ServerAffected: ≥ 7.0, ≤ 7.0.5Upgrade to: after 7.0.5Affected: ≥ 6.0, ≤ 6.0.13Upgrade to: after 6.0.13Affected: ≥ 5.0, ≤ 5.0.24Upgrade to: after 5.0.24Affected: ≥ 4.4, ≤ 4.4.28Upgrade to: after 4.4.28Stated by: CVE record
- RED SOFT RED OSAffected: 7.3Upgrade to: not statedStated by: BDU
- Percona LLC Percona Server for MongoDBAffected: before 7.0.7-4Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.8% chance of exploitation activity in the next 30 days, which ranks it in the 51st percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 840 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 8.8 by NVD.
How it is reached
- Attack Vector AdjacentRequires access to the local network (e.g. same Wi-Fi, Bluetooth)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- jira.mongodb.org/browse/SERVER-72839
- security.netapp.com/advisory/ntap-20240524-0010/
- mongodb.com/docs/manual/release-notes/4.4/
And 4 more references. See all after sign-in
Questions about CVE-2024-1351
- Is CVE-2024-1351 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.8%.
- Which versions are affected by CVE-2024-1351?
- MongoDB Server: ≥ 7.0, ≤ 7.0.5; ≥ 6.0, ≤ 6.0.13; ≥ 5.0, ≤ 5.0.24. RED OS: 7.3. Percona Server for MongoDB: before 7.0.7-4.
- How do I fix or mitigate CVE-2024-1351?
- The vendor has published a fix. The advisory is on jira.mongodb.org.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Mongodb, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI