CVE-2024-6376 json
ejson shell parser in MongoDB Compass maybe bypassed
published 2024-07-01 2 y ago modified 2026-06-17 4 mo ago also GHSA-jxr4-4prv-mh83 , EUVD-2024-47483
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- npm @mongodb-js/connection-form 1.20.1
- MongoDB Inc MongoDB Compass 1.42.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @mongodb-js/connection-form | <1.20.1 |
1.20.1 |
Affected products
- MongoDB Inc MongoDB Compass
Classification
References
-
jira.mongodb.org
/browse/COMPASS-7496
web, issue-tracking, patch, vendor-advisory
-
github.com
/mongodb-js/compass/commit/b1f8050d49d66be3bc499cb317a1e1de45390e51
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-6376
advisory
-
github.com
/mongodb-js/compass
package
Sources
- CVE List CVE-2024-6376
- GitHub Advisory GHSA-jxr4-4prv-mh83
- NVD CVE-2024-6376
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.