CVE-2024-6376 ejson shell parser in MongoDB Compass maybe bypassed
CriticalCVSS 9.8
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Compass | < 1.42.2 | 1.42.2 | Fixed |
| mongodb-js @mongodb-js/connection-form(npm) | < 1.20.1 | 1.20.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb-js @mongodb-js/connection-form(npm) | < 1.20.1 | 1.20.1 |
| MongoDB Compass | < 1.42.2 | 1.42.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- jira.mongodb.org issue-tracking patch vendor-advisory
- github.com patch
- github.com
- github.com product