7.0high
ejson shell parser in MongoDB Compass maybe bypassed
- Severity
- 7.0high CVSS:3.1 by mongodb
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- GHSA-jxr4-4prv-mh83
Description
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc MongoDB Compass | before 1.42.2 | CVE List |
| @mongodb-js/connection-form (npm) | before 1.20.1 | GitHub Advisory Database |
| mongodb compass | before 1.42.2 | NVD |
All scores
| mongodb | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2
GitHub Advisory Database
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2.
NVD (es)
MongoDB Compass puede ser susceptible a la inyección de código debido a una configuración insuficiente de protección de la zona de pruebas con el uso del analizador de shell ejson en el manejo de conexiones de Compass. Este problema afecta a las versiones de MongoDB Compass anteriores a la versión 1.42.2
References
| https://jira.mongodb.org/browse/COMPASS-7496 | issue-tracking, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-6376 | advisory | |
| https://github.com/mongodb-js/compass/commit/b1f8050d49d66be3bc499cb317a1e1de45390e51 | web | |
| https://github.com/mongodb-js/compass | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-6376 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jxr4-4prv-mh83 changed 2025-02-27 | CC-BY-4.0 |
| NVD | CVE-2024-6376 changed 2026-06-17 | Public domain |