# CVE-2024-3371: Insufficient validation of external input in Compass may enable MITM attacks

CVE-2024-3371 is fixed in 3 products on 1 platform, first by MongoDB Compass 1.42.1.0, released February 14, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-3371
- Priority: Routine
- CVSS: 6.8
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 24, 2024
- Weakness: CWE-360: Trust of System Event Data
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-3371

## Description

MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, including data disclosure and enabling attackers to impersonate users. This issue affects MongoDB Compass versions 1.35.0 to 1.42.0.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | MongoDB Compass | 1.42.1.0 | [MongoDB Compass 1.42.1.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.full-1.42.1.0.md) | Feb 14, 2024 |
| Windows apps | MongoDB Compass Isolated Edition | 1.42.1.0 | [MongoDB Compass Isolated Edition 1.42.1.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.isolated-1.42.1.0.md) | Feb 14, 2024 |
| Windows apps | MongoDB Compass Readonly | 1.42.1.0 | [MongoDB Compass Readonly 1.42.1.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.readonly-1.42.1.0.md) | Feb 14, 2024 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
